GithubHelp home page GithubHelp logo

carapace-sh / carapace-bin Goto Github PK

View Code? Open in Web Editor NEW
790.0 7.0 45.0 28.46 MB

multi-shell multi-command argument completer

Home Page: https://carapace.sh

License: MIT License

Go 99.97% Shell 0.01% Nix 0.01% Dockerfile 0.01%
bash elvish fish powershell zsh oil xonsh ion nushell tcsh

carapace-bin's Introduction

carapace-bin's People

Contributors

aftix avatar aserowy avatar brunoroque06 avatar bvaudour avatar carterli avatar dependabot[bot] avatar fehnomenal avatar hofer-julian avatar iandol avatar lihram avatar loicgrobol avatar malcolmseyd avatar mastermach50 avatar rocketrene avatar rsteube avatar sanchithhegde avatar siarune avatar sitiom avatar ssfdust avatar thatsmydoing avatar trojan295 avatar vaibhavwakde52 avatar xiaq avatar zacharyburnett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

carapace-bin's Issues

waypoint

add completions

  • artifact.go
  • artifact_build.go
  • artifact_list.go
  • artifact_listBuilds.go
  • artifact_push.go
  • authMethod.go
  • authMethod_delete.go
  • authMethod_inspect.go
  • authMethod_list.go
  • authMethod_set.go
  • authMethod_set_oidc.go
  • build.go
  • config.go
  • config_get.go
  • config_set.go
  • config_sourceGet.go
  • config_sourceSet.go
  • config_sync.go
  • context.go
  • context_clear.go
  • context_create.go
  • context_delete.go
  • context_inspect.go
  • context_list.go
  • context_rename.go
  • context_set.go
  • context_use.go
  • context_verify.go
  • deploy.go
  • deployment.go
  • deployment_deploy.go
  • deployment_destroy.go
  • deployment_list.go
  • destroy.go
  • docs.go
  • exec.go
  • fmt.go
  • hostname.go
  • hostname_delete.go
  • hostname_list.go
  • hostname_register.go
  • init.go
  • install.go
  • login.go
  • logs.go
  • project.go
  • project_apply.go
  • project_inspect.go
  • project_list.go
  • release.go
  • release_list.go
  • root.go
  • runner.go
  • runner_agent.go
  • runner_profile.go
  • runner_profile_inspect.go
  • runner_profile_list.go
  • runner_profile_set.go
  • server.go
  • server_bootstrap.go
  • server_configSet.go
  • server_install.go
  • server_restore.go
  • server_run.go
  • server_snapshot.go
  • server_uninstall.go
  • server_upgrade.go
  • status.go
  • ui.go
  • up.go
  • user.go
  • user_inspect.go
  • user_invite.go
  • user_modify.go
  • user_token.go
  • version.go
  • workspace.go
  • workspace_inspect.go
  • workspace_list.go

performance tweaks

with increasing amount of completers might need to use yaegi to only initialize the needed command (assuming all init methods are called on invokation - need to check this)

kubectl

Basic Commands (Beginner):

  • create Create a resource from a file or from stdin.

    • clusterrole Create a ClusterRole.
    • clusterrolebinding Create a ClusterRoleBinding for a particular ClusterRole
    • configmap Create a configmap from a local file, directory or literal value
    • cronjob Create a cronjob with the specified name.
    • deployment Create a deployment with the specified name.
    • job Create a job with the specified name.
    • namespace Create a namespace with the specified name
    • poddisruptionbudget Create a pod disruption budget with the specified name.
    • priorityclass Create a priorityclass with the specified name.
    • quota Create a quota with the specified name.
    • role Create a role with single rule.
    • rolebinding Create a RoleBinding for a particular Role or ClusterRole
    • secret Create a secret using specified subcommand
      • docker-registry
      • generic
      • tls
    • service Create a service using specified subcommand.
      • clusterip Create a ClusterIP service.
      • externalname Create an ExternalName service.
      • loadbalancer Create a LoadBalancer service.
      • nodeport Create a NodePort service.
    • serviceaccount Create a service account with the specified name
  • expose Take a replication controller, service, deployment or pod and expose it as a new Kubernetes Service

  • run Run a particular image on the cluster

  • set Set specific features on objects

    • env Update environment variables on a pod template
    • image Update image of a pod template
    • resources Update resource requests/limits on objects with pod templates
    • selector Set the selector on a resource
    • serviceaccount Update ServiceAccount of a resource
    • subject Update User, Group or ServiceAccount in a RoleBinding/ClusterRoleBinding

Basic Commands (Intermediate):

  • explain Documentation of resources
  • get Display one or many resources
  • edit Edit a resource on the server
  • delete Delete resources by filenames, stdin, resources and names, or by resources and label selector

Deploy Commands:

  • rollout Manage the rollout of a resource
    • history View rollout history
    • pause Mark the provided resource as paused
    • restart Restart a resource
    • resume Resume a paused resource
    • status Show the status of the rollout
    • undo Undo a previous rollout
  • scale Set a new size for a Deployment, ReplicaSet or Replication Controller
  • autoscale Auto-scale a Deployment, ReplicaSet, or ReplicationController

Cluster Management Commands:

  • certificate Modify certificate resources.
    • approve Approve a certificate signing request
    • deny Deny a certificate signing request
  • cluster-info Display cluster info
    • dump Dump lots of relevant info for debugging and diagnosis
  • top Display Resource (CPU/Memory/Storage) usage.
    • node Display Resource (CPU/Memory/Storage) usage of nodes
    • pod Display Resource (CPU/Memory/Storage) usage of pods
  • cordon Mark node as unschedulable
  • uncordon Mark node as schedulable
  • drain Drain node in preparation for maintenance
  • taint Update the taints on one or more nodes

Troubleshooting and Debugging Commands:

  • describe Show details of a specific resource or group of resources
  • logs Print the logs for a container in a pod
  • attach Attach to a running container
  • exec Execute a command in a container
  • port-forward Forward one or more local ports to a pod
  • proxy Run a proxy to the Kubernetes API server
  • cp Copy files and directories to and from containers.
  • auth Inspect authorization
    • can-i Check whether an action is allowed
    • reconcile Reconciles rules for RBAC Role, RoleBinding, ClusterRole, and ClusterRole binding
      objects

Advanced Commands:

  • diff Diff live version against would-be applied version
  • apply Apply a configuration to a resource by filename or stdin
  • patch Update field(s) of a resource using strategic merge patch
  • replace Replace a resource by filename or stdin
  • wait Experimental: Wait for a specific condition on one or many resources.
  • convert Convert config files between different API versions
  • kustomize Build a kustomization target from a directory or a remote url.

Settings Commands:

  • label Update the labels on a resource
  • annotate Update the annotations on a resource
  • completion Output shell completion code for the specified shell (bash or zsh)

Other Commands:

  • alpha Commands for features in alpha
  • api-resources Print the supported API resources on the server
  • api-versions Print the supported API versions on the server, in the form of "group/version"
  • config Modify kubeconfig files
    • current-context Displays the current-context
    • delete-cluster Delete the specified cluster from the kubeconfig
    • delete-context Delete the specified context from the kubeconfig
    • get-clusters Display clusters defined in the kubeconfig
    • get-contexts Describe one or many contexts
    • rename-context Renames a context from the kubeconfig file.
    • set Sets an individual value in a kubeconfig file
    • set-cluster Sets a cluster entry in kubeconfig
    • set-context Sets a context entry in kubeconfig
    • set-credentials Sets a user entry in kubeconfig
    • unset Unsets an individual value in a kubeconfig file
    • use-context Sets the current-context in a kubeconfig file
    • view Display merged kubeconfig settings or a specified kubeconfig file
  • plugin Provides utilities for interacting with plugins.
    • list list all visible plugin executables on a user's PATH
  • version Print the client and server version information

git

  • git root command

Main Porcelain Commands

  • add Add file contents to the index
  • am Apply a series of patches from a mailbox
  • archive Create an archive of files from a named tree
  • bisect Use binary search to find the commit that introduced a bug
  • branch List, create, or delete branches
  • bundle Move objects and refs by archive
  • checkout Switch branches or restore working tree files
  • cherry-pick Apply the changes introduced by some existing commits
  • citool Graphical alternative to git-commit
  • clean Remove untracked files from the working tree
  • clone Clone a repository into a new directory
  • commit Record changes to the repository
  • describe Give an object a human readable name based on an available ref
  • diff Show changes between commits, commit and working tree, etc
  • fetch Download objects and refs from another repository
  • format-patch Prepare patches for e-mail submission
  • gc Cleanup unnecessary files and optimize the local repository
  • grep Print lines matching a pattern
  • gui A portable graphical interface to Git
  • init Create an empty Git repository or reinitialize an existing one
  • log Show commit logs
  • maintenance Run tasks to optimize Git repository data
  • merge Join two or more development histories together
  • mv Move or rename a file, a directory, or a symlink
  • notes Add or inspect object notes
  • pull Fetch from and integrate with another repository or a local branch
  • push Update remote refs along with associated objects
  • range-diff Compare two commit ranges (e.g. two versions of a branch)
  • rebase Reapply commits on top of another base tip
  • reset Reset current HEAD to the specified state
  • restore Restore working tree files
  • revert Revert some existing commits
  • rm Remove files from the working tree and from the index
  • shortlog Summarize 'git log' output
  • show Show various types of objects
  • sparse-checkout Initialize and modify the sparse-checkout
  • stash Stash the changes in a dirty working directory away
  • status Show the working tree status
  • submodule Initialize, update or inspect submodules
  • switch Switch branches
  • tag Create, list, delete or verify a tag object signed with GPG
  • worktree Manage multiple working trees

Ancillary Commands / Manipulators

  • config Get and set repository or global options
  • fast-export Git data exporter
  • fast-import Backend for fast Git data importers
  • filter-branch Rewrite branches
  • mergetool Run merge conflict resolution tools to resolve merge conflicts
  • pack-refs Pack heads and tags for efficient repository access
  • prune Prune all unreachable objects from the object database
  • reflog Manage reflog information
  • remote Manage set of tracked repositories
  • repack Pack unpacked objects in a repository
  • replace Create, list, delete refs to replace objects

Ancillary Commands / Interrogators

  • annotate Annotate file lines with commit information
  • blame Show what revision and author last modified each line of a file
  • bugreport Collect information for user to file a bug report
  • count-objects Count unpacked number of objects and their disk consumption
  • difftool Show changes using common diff tools
  • fsck Verifies the connectivity and validity of the objects in the database
  • help Display help information about Git
  • instaweb Instantly browse your working repository in gitweb
  • merge-tree Show three-way merge without touching index
  • rerere Reuse recorded resolution of conflicted merges
  • show-branch Show branches and their commits
  • verify-commit Check the GPG signature of commits
  • verify-tag Check the GPG signature of tags
  • whatchanged Show logs with difference each commit introduces

Interacting with Others

  • archimport Import a GNU Arch repository into Git
  • cvsexportcommit Export a single commit to a CVS checkout
  • cvsimport Salvage your data out of another SCM people love to hate
  • cvsserver A CVS server emulator for Git
  • imap-send Send a collection of patches from stdin to an IMAP folder
  • p4 Import from and submit to Perforce repositories
  • quiltimport Applies a quilt patchset onto the current branch
  • request-pull Generates a summary of pending changes
  • send-email Send a collection of patches as emails
  • svn Bidirectional operation between a Subversion repository and Git

Low-level Commands / Manipulators

  • apply Apply a patch to files and/or to the index
  • checkout-index Copy files from the index to the working tree
  • commit-graph Write and verify Git commit-graph files
  • commit-tree Create a new commit object
  • hash-object Compute object ID and optionally creates a blob from a file
  • index-pack Build pack index file for an existing packed archive
  • merge-file Run a three-way file merge
  • merge-index Run a merge for files needing merging
  • mktag Creates a tag object
  • mktree Build a tree-object from ls-tree formatted text
  • multi-pack-index Write and verify multi-pack-indexes
  • pack-objects Create a packed archive of objects
  • prune-packed Remove extra objects that are already in pack files
  • read-tree Reads tree information into the index
  • symbolic-ref Read, modify and delete symbolic refs
  • unpack-objects Unpack objects from a packed archive
  • update-index Register file contents in the working tree to the index
  • update-ref Update the object name stored in a ref safely
  • write-tree Create a tree object from the current index

Low-level Commands / Interrogators

  • cat-file Provide content or type and size information for repository objects
  • cherry Find commits yet to be applied to upstream
  • diff-files Compares files in the working tree and the index
  • diff-index Compare a tree to the working tree or index
  • diff-tree Compares the content and mode of blobs found via two tree objects
  • for-each-ref Output information on each ref
  • get-tar-commit-id Extract commit ID from an archive created using git-archive
  • ls-files Show information about files in the index and the working tree
  • ls-remote List references in a remote repository
  • ls-tree List the contents of a tree object
  • merge-base Find as good common ancestors as possible for a merge
  • name-rev Find symbolic names for given revs
  • pack-redundant Find redundant pack files
  • rev-list Lists commit objects in reverse chronological order
  • rev-parse Pick out and massage parameters
  • show-index Show packed archive index
  • show-ref List references in a local repository
  • unpack-file Creates a temporary file with a blob's contents
  • var Show a Git logical variable
  • verify-pack Validate packed Git archive files

Low-level Commands / Syncing Repositories

  • daemon A really simple server for Git repositories
  • fetch-pack Receive missing objects from another repository
  • http-backend Server side implementation of Git over HTTP
  • send-pack Push objects over Git protocol to another repository
  • update-server-info Update auxiliary info file to help dumb servers

Low-level Commands / Internal Helpers

  • check-attr Display gitattributes information
  • check-ignore Debug gitignore / exclude files
  • check-mailmap Show canonical names and email addresses of contacts
  • check-ref-format Ensures that a reference name is well formed
  • column Display data in columns
  • credential Retrieve and store user credentials
  • credential-cache Helper to temporarily store passwords in memory
  • credential-store Helper to store credentials on disk
  • fmt-merge-msg Produce a merge commit message
  • interpret-trailers Add or parse structured information in commit messages
  • mailinfo Extracts patch and authorship from a single e-mail message
  • mailsplit Simple UNIX mbox splitter program
  • merge-one-file The standard helper program to use with git-merge-index
  • patch-id Compute unique ID for a patch
  • stripspace Remove unnecessary whitespace

External commands

  • clang-format

faas-cli

needs some tests as some completions are probably not correct

  • platform is likely to be wrong
  • namespace shoud be considered in actions

gnu core utils

  • chgrp
  • chown
  • chmod
  • cp
  • dd
  • df
  • dir
  • dircolors
  • install
  • ln
  • ls
  • mkdir
  • mkfifo
  • mknod
  • mv
  • rm
  • rmdir
  • shred
  • sync
  • touch
  • vdir
  • cat
  • cksum
  • comm
  • csplit
  • cut
  • expand
  • fmt
  • fold
  • head
  • join
  • md5sum
  • nl
  • od
  • paste
  • ptx
  • pr
  • sha1sum
  • sort
  • split
  • sum
  • tac
  • tail
  • tr
  • tsort
  • unexpand
  • uniq
  • wc
  • basename
  • chroot
  • date
  • dirname
  • du
  • env
  • expr
  • factor
  • hostid
  • id
  • link
  • logname
  • nice
  • nohup
  • pathchk
  • pinky
  • printenv
  • readlink
  • seq
  • sleep
  • stat
  • stty
  • tee
  • tty
  • uname
  • unlink
  • users
  • who
  • whoami
  • yes

doctl

add flag and positional completion

  • account.go
  • account_get.go
  • account_ratelimit.go
  • action
  • apps.go
  • apps_create.go
  • apps_createDeployment.go
  • apps_delete.go
  • apps_get.go
  • apps_getDeployment.go
  • apps_list.go
  • apps_listAlerts.go
  • apps_listDeployments.go
  • apps_listRegions.go
  • apps_logs.go
  • apps_propose.go
  • apps_spec.go
  • apps_spec_get.go
  • apps_spec_validate.go
  • apps_tier.go
  • apps_tier_get.go
  • apps_tier_instanceSize.go
  • apps_tier_instanceSize_get.go
  • apps_tier_instanceSize_list.go
  • apps_tier_list.go
  • apps_update.go
  • apps_updateAlertDestinations.go
  • auth.go
  • auth_init.go
  • auth_list.go
  • auth_remove.go
  • auth_switch.go
  • balance.go
  • balance_get.go
  • billingHistory.go
  • billingHistory_list.go
  • completion.go
  • completion_bash.go
  • completion_fish.go
  • completion_zsh.go
  • compute.go
  • compute_action.go
  • compute_action_get.go
  • compute_action_list.go
  • compute_action_wait.go
  • compute_cdn.go
  • compute_cdn_create.go
  • compute_cdn_delete.go
  • compute_cdn_flush.go
  • compute_cdn_get.go
  • compute_cdn_list.go
  • compute_cdn_update.go
  • compute_certificate.go
  • compute_certificate_create.go
  • compute_certificate_delete.go
  • compute_certificate_get.go
  • compute_certificate_list.go
  • compute_domain.go
  • compute_domain_create.go
  • compute_domain_delete.go
  • compute_domain_get.go
  • compute_domain_list.go
  • compute_domain_records.go
  • compute_domain_records_create.go
  • compute_domain_records_delete.go
  • compute_domain_records_list.go
  • compute_domain_records_update.go
  • compute_droplet.go
  • compute_droplet_1Click.go
  • compute_droplet_1Click_list.go
  • compute_droplet_actions.go
  • compute_droplet_backups.go
  • compute_droplet_create.go
  • compute_droplet_delete.go
  • compute_droplet_get.go
  • compute_droplet_kernels.go
  • compute_droplet_list.go
  • compute_droplet_neighbors.go
  • compute_droplet_snapshots.go
  • compute_droplet_tag.go
  • compute_droplet_untag.go
  • compute_dropletAction.go
  • compute_dropletAction_changeKernel.go
  • compute_dropletAction_disableBackups.go
  • compute_dropletAction_enableBackups.go
  • compute_dropletAction_enableIpv6.go
  • compute_dropletAction_enablePrivateNetworking.go
  • compute_dropletAction_get.go
  • compute_dropletAction_passwordReset.go
  • compute_dropletAction_powerCycle.go
  • compute_dropletAction_powerOff.go
  • compute_dropletAction_powerOn.go
  • compute_dropletAction_reboot.go
  • compute_dropletAction_rebuild.go
  • compute_dropletAction_rename.go
  • compute_dropletAction_resize.go
  • compute_dropletAction_restore.go
  • compute_dropletAction_shutdown.go
  • compute_dropletAction_snapshot.go
  • compute_firewall.go
  • compute_firewall_addDroplets.go
  • compute_firewall_addRules.go
  • compute_firewall_addTags.go
  • compute_firewall_create.go
  • compute_firewall_delete.go
  • compute_firewall_get.go
  • compute_firewall_list.go
  • compute_firewall_listByDroplet.go
  • compute_firewall_removeDroplets.go
  • compute_firewall_removeRules.go
  • compute_firewall_removeTags.go
  • compute_firewall_update.go
  • compute_floatingIp.go
  • compute_floatingIp_create.go
  • compute_floatingIp_delete.go
  • compute_floatingIp_get.go
  • compute_floatingIp_list.go
  • compute_floatingIpAction.go
  • compute_floatingIpAction_assign.go
  • compute_floatingIpAction_get.go
  • compute_floatingIpAction_unassign.go
  • compute_image.go
  • compute_image_create.go
  • compute_image_delete.go
  • compute_image_get.go
  • compute_image_list.go
  • compute_image_listApplication.go
  • compute_image_listDistribution.go
  • compute_image_listUser.go
  • compute_image_update.go
  • compute_imageAction.go
  • compute_imageAction_get.go
  • compute_imageAction_transfer.go
  • compute_loadBalancer.go
  • compute_loadBalancer_addDroplets.go
  • compute_loadBalancer_addForwardingRules.go
  • compute_loadBalancer_create.go
  • compute_loadBalancer_delete.go
  • compute_loadBalancer_get.go
  • compute_loadBalancer_list.go
  • compute_loadBalancer_removeDroplets.go
  • compute_loadBalancer_removeForwardingRules.go
  • compute_loadBalancer_update.go
  • compute_region.go
  • compute_region_list.go
  • compute_size.go
  • compute_size_list.go
  • compute_snapshot.go
  • compute_snapshot_delete.go
  • compute_snapshot_get.go
  • compute_snapshot_list.go
  • compute_ssh.go
  • compute_sshKey.go
  • compute_sshKey_create.go
  • compute_sshKey_delete.go
  • compute_sshKey_get.go
  • compute_sshKey_import.go
  • compute_sshKey_list.go
  • compute_sshKey_update.go
  • compute_tag.go
  • compute_tag_create.go
  • compute_tag_delete.go
  • compute_tag_get.go
  • compute_tag_list.go
  • compute_volume.go
  • compute_volume_create.go
  • compute_volume_delete.go
  • compute_volume_get.go
  • compute_volume_list.go
  • compute_volume_snapshot.go
  • compute_volumeAction.go
  • compute_volumeAction_attach.go
  • compute_volumeAction_detach.go
  • compute_volumeAction_detachByDropletId.go
  • compute_volumeAction_get.go
  • compute_volumeAction_list.go
  • compute_volumeAction_resize.go
  • databases.go
  • databases_backups.go
  • databases_connection.go
  • databases_create.go
  • databases_db.go
  • databases_db_create.go
  • databases_db_delete.go
  • databases_db_get.go
  • databases_db_list.go
  • databases_delete.go
  • databases_firewalls.go
  • databases_firewalls_append.go
  • databases_firewalls_list.go
  • databases_firewalls_remove.go
  • databases_firewalls_replace.go
  • databases_get.go
  • databases_list.go
  • databases_maintenanceWindow.go
  • databases_maintenanceWindow_get.go
  • databases_maintenanceWindow_update.go
  • databases_migrate.go
  • databases_pool.go
  • databases_pool_create.go
  • databases_pool_delete.go
  • databases_pool_get.go
  • databases_pool_list.go
  • databases_replica.go
  • databases_replica_connection.go
  • databases_replica_create.go
  • databases_replica_delete.go
  • databases_replica_get.go
  • databases_replica_list.go
  • databases_resize.go
  • databases_sqlMode.go
  • databases_sqlMode_get.go
  • databases_sqlMode_set.go
  • databases_user.go
  • databases_user_create.go
  • databases_user_delete.go
  • databases_user_get.go
  • databases_user_list.go
  • databases_user_reset.go
  • help.go
  • invoice.go
  • invoice_csv.go
  • invoice_get.go
  • invoice_list.go
  • invoice_pdf.go
  • invoice_summary.go
  • kubernetes.go
  • kubernetes_1Click.go
  • kubernetes_1Click_install.go
  • kubernetes_1Click_list.go
  • kubernetes_cluster.go
  • kubernetes_cluster_create.go
  • kubernetes_cluster_delete.go
  • kubernetes_cluster_deleteSelective.go
  • kubernetes_cluster_get.go
  • kubernetes_cluster_getUpgrades.go
  • kubernetes_cluster_kubeconfig.go
  • kubernetes_cluster_kubeconfig_remove.go
  • kubernetes_cluster_kubeconfig_save.go
  • kubernetes_cluster_kubeconfig_show.go
  • kubernetes_cluster_list.go
  • kubernetes_cluster_listAssociatedResources.go
  • kubernetes_cluster_nodePool.go
  • kubernetes_cluster_nodePool_create.go
  • kubernetes_cluster_nodePool_delete.go
  • kubernetes_cluster_nodePool_deleteNode.go
  • kubernetes_cluster_nodePool_get.go
  • kubernetes_cluster_nodePool_list.go
  • kubernetes_cluster_nodePool_replaceNode.go
  • kubernetes_cluster_nodePool_update.go
  • kubernetes_cluster_registry.go
  • kubernetes_cluster_registry_add.go
  • kubernetes_cluster_registry_remove.go
  • kubernetes_cluster_update.go
  • kubernetes_cluster_upgrade.go
  • kubernetes_options.go
  • kubernetes_options_regions.go
  • kubernetes_options_sizes.go
  • kubernetes_options_versions.go
  • monitoring.go
  • monitoring_alert.go
  • monitoring_alert_create.go
  • monitoring_alert_delete.go
  • monitoring_alert_get.go
  • monitoring_alert_list.go
  • monitoring_alert_update.go
  • OneClick.go
  • OneClick_list.go
  • projects.go
  • projects_create.go
  • projects_delete.go
  • projects_get.go
  • projects_list.go
  • projects_resources.go
  • projects_resources_assign.go
  • projects_resources_get.go
  • projects_resources_list.go
  • projects_update.go
  • registry.go
  • registry_create.go
  • registry_delete.go
  • registry_dockerConfig.go
  • registry_garbageCollection.go
  • registry_garbageCollection_cancel.go
  • registry_garbageCollection_getActive.go
  • registry_garbageCollection_list.go
  • registry_garbageCollection_start.go
  • registry_get.go
  • registry_kubernetesManifest.go
  • registry_login.go
  • registry_logout.go
  • registry_options.go
  • registry_options_subscriptionTiers.go
  • registry_repository.go
  • registry_repository_deleteManifest.go
  • registry_repository_deleteTag.go
  • registry_repository_list.go
  • registry_repository_listTags.go
  • root.go
  • version.go
  • vpcs.go
  • vpcs_create.go
  • vpcs_delete.go
  • vpcs_get.go
  • vpcs_list.go
  • vpcs_update.go

kubectl cleanup

#236

  • completions need to use namespace/file/host from current invokation if changed from default
  • do some tests

maven

  • completion caching (like gradle)
  • plugin goals from parent pom
  • plugins not configured in root xml (pluginmanagement, profiles, ..?)
  • different repository location than default (environment variable, settings)

chown: fails to complete group

chown --from games:<TAB>

  • bash - fails: won't complete second part
  • fish - ok
  • elvish - ok
  • powershell - ok
  • zsh - fails
 (eval):1: parse error near `$(carapace chown zsh...'
_arguments:453: command not found:  eval $(carapace chown zsh '_chown##from' hown --from games

carascrape

add some command similar to caraparse to scrape go commands (like kubectl)

crude code used to prepare kubetl for caraparse parsing:

func scrape(cmd *cobra.Command) {
	if cmd.Hidden {
		return
	}

    text := make([]string, 0)

	text = append(text,  fmt.Sprint(uid.Command(cmd)))
	text = append(text,  fmt.Sprint(cmd.Name()))
	text = append(text,  fmt.Sprint(cmd.Short))
	cmd.LocalFlags().VisitAll(func(f *pflag.Flag) {
		val := ""
		if f.Value.Type() != "bool" {
			val = "VAL"
		}

        usage := strings.Split(f.Usage, "\n")[0]
        if len(usage) > 100 {
            usage = usage[:100]
        }

		if f.Shorthand == "" {
			text = append(text,  fmt.Sprintf("--%v %v  %v", f.Name, val, usage))
		} else {
			text = append(text,  fmt.Sprintf("-%v, --%v %v  %v", f.Shorthand, f.Name, val, usage))
		}
	})
    _ = ioutil.WriteFile("out/" + uid.Command(cmd) + ".txt", []byte(strings.Join(text, "\n")), 0644)

	for _, subcmd := range cmd.Commands() {
		scrape(subcmd)
	}
}

Configure descriptions format

First of all let me say I am totally amazed by carapace. I discovered it thanks to your PR cli/cli#2728 and was blown away when I discovered what it can do.

One minor thing I'd like to ask/request is how to change the format used for the descriptions?

In my ZSH setup using the standard completion source (e.g. for gh) the descriptions are separated by --, which I like.

before

After loading carapace (source <(carapace gh zsh)) the descriptions change to this format (using parentheses)

after

If possible I'd like to keep my existing description format so that it stays uniform across different commands.

Here's my zshrc for reference: https://github.com/disrupted/dotfiles/blob/4957c485b2b7bf2a73af9393bf8d599fd6afbfec/.zshrc

ssh

finalize ssh completer

  • bindings
  • options
  • host definitions

go:generate

use go:generate to create cmd/completers.go and completers/*/main.go

minikube

add completions

  • addons.go
  • addons_configure.go
  • addons_disable.go
  • addons_enable.go
  • addons_images.go
  • addons_list.go
  • addons_open.go
  • cache.go
  • cache_add.go
  • cache_delete.go
  • cache_list.go
  • cache_reload.go
  • completion.go
  • completion_bash.go
  • completion_fish.go
  • completion_zsh.go
  • config.go
  • config_defaults.go
  • config_get.go
  • config_set.go
  • config_unset.go
  • config_view.go
  • cp.go
  • dashboard.go
  • delete.go
  • dockerEnv.go
  • help.go
  • image.go
  • image_build.go
  • image_load.go
  • image_ls.go
  • image_rm.go
  • ip.go
  • kubectl.go
  • logs.go
  • mount.go
  • node.go
  • node_add.go
  • node_delete.go
  • node_list.go
  • node_start.go
  • node_stop.go
  • pause.go
  • podmanEnv.go
  • profile.go
  • profile_list.go
  • root.go
  • service.go
  • service_list.go
  • ssh.go
  • sshHost.go
  • sshKey.go
  • start.go
  • status.go
  • stop.go
  • tunnel.go
  • unpause.go
  • updateCheck.go
  • updateContext.go
  • version.go

update asciicast

update readme with new asciicast that does not use docker-compose

background service

background service where carapace runs in background and provides completion over socket communication.
will set CARAPACE_SOCKET=/somefile environment variable and if this exists (assume a server is running) generate the lazy loaded completion scripts with callback snippet that invokes nc instead of the carapace binary.

This should improve performance.

flutter

  • custom-devices
  • pub
  • repeatable flags
  • test name completion
  • user name completion
  • reuse commands/completion from pub

watch init execution time

init() function calls can now be logged so add a ci test to not let the startup time get out of hand

GODEBUG=inittrace=1 go run . 2>&1 | grep 'init github.com/rsteube/carapace-bin/comp
leters' | awk '{print $5" "$6" "$2}' | sort -r

# 5.9 ms github.com/rsteube/carapace-bin/completers/kubectl_completer/cmd
# 2.6 ms github.com/rsteube/carapace-bin/completers/git_completer/cmd
# 2.4 ms github.com/rsteube/carapace-bin/completers/docker_completer/cmd
# 1.0 ms github.com/rsteube/carapace-bin/completers/cargo_completer/cmd
# 0.55 ms github.com/rsteube/carapace-bin/completers/vlc_completer/cmd
# 0.53 ms github.com/rsteube/carapace-bin/completers/tar_completer/cmd
# 0.43 ms github.com/rsteube/carapace-bin/completers/adb_completer/cmd
# 0.39 ms github.com/rsteube/carapace-bin/completers/nmcli_completer/cmd

related #136

cargo

common commands

  • build, b Compile the current package
  • check, c Analyze the current package and report errors, but don't build object files
  • clean Remove the target directory
  • doc Build this package's and its dependencies' documentation
  • new Create a new cargo package
  • init Create a new cargo package in an existing directory
  • run, r Run a binary or example of the local package
  • test, t Run the tests
  • bench Run the benchmarks
  • update Update dependencies listed in Cargo.lock
  • search Search registry for crates
  • publish Package and upload this package to the registry
  • install Install a Rust binary. Default location is $HOME/.cargo/bin
  • uninstall Uninstall a Rust binary

installed commands:

  • fetch Fetch dependencies of a package from the network
  • fix Automatically fix lint warnings reported by rustc
  • generate-lockfile Generate the lockfile for a package
  • git-checkout This subcommand has been removed
  • locate-project Print a JSON representation of a Cargo.toml file's location
  • login Save an api token from the registry locally. If token is not specified, it will be read from stdin.
  • metadata Output the resolved dependencies of a package, the concrete used versions including overrides, in machine-readable format
  • owner Manage the owners of a crate on the registry
  • package Assemble the local package into a distributable tarball
  • pkgid Print a fully qualified package specification
  • read-manifest Print a JSON representation of a Cargo.toml manifest.
  • rustc Compile a package, and pass extra options to the compiler
  • rustdoc Build a package's documentation, using specified custom flags.
  • tree Display a tree visualization of a dependency graph
  • vendor Vendor all dependencies for a project locally
  • verify-project Check correctness of crate manifest
  • version Show version information
  • yank Remove a pushed crate from the index
  • bloat
  • clippy
  • fmt
  • miri
  • watch

consul

  • repeatable flags
  • environment variables
  • use http config changes in actions
  • test and fix completions

ffmpeg

  • -L show license
  • -h topic show help
  • -? topic show help
  • -help topic show help
  • --help topic show help
  • -version show version
  • -buildconf show build configuration
  • -formats show available formats
  • -muxers show available muxers
  • -demuxers show available demuxers
  • -devices show available devices
  • -codecs show available codecs
  • -decoders show available decoders
  • -encoders show available encoders
  • -bsfs show available bit stream filters
  • -protocols show available protocols
  • -filters show available filters
  • -pix_fmts show available pixel formats
  • -layouts show standard channel layouts
  • -sample_fmts show available audio sample formats
  • -dispositions show available stream dispositions
  • -colors show available color names
  • -sources device list sources of the input device
  • -sinks device list sinks of the output device
  • -hwaccels show available HW acceleration methods
  • -loglevel loglevel set logging level
  • -v loglevel set logging level
  • -report generate a report
  • -max_alloc bytes set maximum size of a single allocated block
  • -y overwrite output files
  • -n never overwrite output files
  • -ignore_unknown Ignore unknown stream types
  • -filter_threads number of non-complex filter threads
  • -filter_complex_threads number of threads for -filter_complex
  • -stats print progress report during encoding
  • -max_error_rate maximum error rate ratio of decoding errors (0.0: no errors, 1.0: 100% errors) above which ffmpeg returns an error instead of success.
  • -cpuflags flags force specific cpu flags
  • -cpucount count force specific cpu count
  • -hide_banner hide_banner do not show program banner
  • -copy_unknown Copy unknown stream types
  • -recast_media allow recasting stream type in order to force a decoder of different media type
  • -benchmark add timings for benchmarking
  • -benchmark_all add timings for each task
  • -progress url write program-readable progress information
  • -stdin enable or disable interaction on standard input
  • -timelimit limit set max runtime in seconds in CPU user time
  • -dump dump each input packet
  • -hex when dumping packets, also dump the payload
  • -vsync set video sync method globally; deprecated, use -fps_mode
  • -frame_drop_threshold frame drop threshold
  • -adrift_threshold threshold audio drift threshold
  • -copyts copy timestamps
  • -start_at_zero shift input timestamps to start at 0 when using copyts
  • -copytb mode copy input stream time base when stream copying
  • -dts_delta_threshold threshold timestamp discontinuity delta threshold
  • -dts_error_threshold threshold timestamp error delta threshold
  • -xerror error exit on error
  • -abort_on flags abort on the specified condition flags
  • -filter_complex graph_description create a complex filtergraph
  • -lavfi graph_description create a complex filtergraph
  • -filter_complex_script filename read complex filtergraph description from a file
  • -auto_conversion_filters enable automatic conversion filters globally
  • -stats_period time set the period at which ffmpeg updates stats and -progress output
  • -debug_ts print timestamp debugging info
  • -psnr calculate PSNR of compressed frames (deprecated, use -flags +psnr)
  • -vstats dump video coding statistics to file
  • -vstats_file file dump video coding statistics to file
  • -vstats_version Version of the vstats format to use.
  • -qphist show QP histogram
  • -sdp_file file specify a file in which to print sdp information
  • -vaapi_device device set VAAPI hardware device (DRM path or X11 display name)
  • -qsv_device device set QSV hardware device (DirectX adapter index, DRM path or X11 display name)
  • -init_hw_device args initialise hardware device
  • -filter_hw_device device set hardware device used when filtering
  • -f fmt force format
  • -c codec codec name
  • -codec codec codec name
  • -pre preset preset name
  • -map_metadata outfile[,metadata]:infile[,metadata] set metadata information of outfile from infile
  • -t duration record or transcode "duration" seconds of audio/video
  • -to time_stop record or transcode stop time
  • -fs limit_size set the limit file size in bytes
  • -ss time_off set the start time offset
  • -sseof time_off set the start time offset relative to EOF
  • -seek_timestamp enable/disable seeking by timestamp with -ss
  • -timestamp time set the recording timestamp ('now' to set the current time)
  • -metadata string=string add metadata
  • -program title=string:st=number... add program with specified streams
  • -target type specify target file type ("vcd", "svcd", "dvd", "dv" or "dv50" with optional prefixes "pal-", "ntsc-" or "film-")
  • -apad audio pad
  • -frames number set the number of frames to output
  • -filter filter_graph set stream filtergraph
  • -filter_script filename read stream filtergraph description from a file
  • -reinit_filter reinit filtergraph on input parameter changes
  • -discard discard
  • -disposition disposition
  • -map [-]input_file_id[:stream_specifier][,sync_file_id[:stream_specifier]] set input stream mapping
  • -map_channel file.stream.channel[:syncfile.syncstream] map an audio channel from one stream to another (deprecated)
  • -map_chapters input_file_index set chapters mapping
  • -accurate_seek enable/disable accurate seeking with -ss
  • -isync sync ref Indicate the input index for sync reference
  • -itsoffset time_off set the input ts offset
  • -itsscale scale set the input ts scale
  • -dframes number set the number of data frames to output
  • -re read input at native frame rate; equivalent to -readrate 1
  • -readrate speed read input at specified rate
  • -shortest finish encoding within shortest input
  • -shortest_buf_duration maximum buffering duration (in seconds) for the -shortest option
  • -bitexact bitexact mode
  • -copyinkf copy initial non-keyframes
  • -copypriorss copy or discard frames before start time
  • -tag fourcc/tag force codec tag/fourcc
  • -q q use fixed quality scale (VBR)
  • -qscale q use fixed quality scale (VBR)
  • -profile profile set profile
  • -attach filename add an attachment to the output file
  • -dump_attachment filename extract an attachment into a file
  • -stream_loop loop count set number of times input stream shall be looped
  • -thread_queue_size set the maximum number of queued packets from the demuxer
  • -find_stream_info read and decode the streams to fill missing information with heuristics
  • -bits_per_raw_sample number set the number of bits per raw sample
  • -stats_enc_pre write encoding stats before encoding
  • -stats_enc_post write encoding stats after encoding
  • -stats_mux_pre write packets stats before muxing
  • -stats_enc_pre_fmt format of the stats written with -stats_enc_pre
  • -stats_enc_post_fmt format of the stats written with -stats_enc_post
  • -stats_mux_pre_fmt format of the stats written with -stats_mux_pre
  • -autorotate automatically insert correct rotate filters
  • -autoscale automatically insert a scale filter at the end of the filter graph
  • -muxdelay seconds set the maximum demux-decode delay
  • -muxpreload seconds set the initial demux-decode delay
  • -time_base ratio set the desired time base hint for output stream (1:24, 1:48000 or 0.04166, 2.0833e-5)
  • -enc_time_base ratio set the desired time base for the encoder (1:24, 1:48000 or 0.04166, 2.0833e-5). two special values are defined - 0 = use frame rate (video) or sample rate (audio),-1 = match source time base
  • -bsf bitstream_filters A comma-separated list of bitstream filters
  • -fpre filename set options from indicated preset file
  • -max_muxing_queue_size packets maximum number of packets that can be buffered while waiting for all streams to initialize
  • -muxing_queue_data_threshold bytes set the threshold after which max_muxing_queue_size is taken into account
  • -dcodec codec force data codec ('copy' to copy stream)
  • -vframes number set the number of video frames to output
  • -r rate set frame rate (Hz value, fraction or abbreviation)
  • -fpsmax rate set max frame rate (Hz value, fraction or abbreviation)
  • -s size set frame size (WxH or abbreviation)
  • -aspect aspect set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)
  • -display_rotation angle set pure counter-clockwise rotation in degrees for stream(s)
  • -display_hflip set display horizontal flip for stream(s) (overrides any display rotation if it is not set)
  • -display_vflip set display vertical flip for stream(s) (overrides any display rotation if it is not set)
  • -vn disable video
  • -vcodec codec force video codec ('copy' to copy stream)
  • -timecode hh:mm:ss[:;.]ff set initial TimeCode value.
  • -pass n select the pass number (1 to 3)
  • -vf filter_graph set video filters
  • -b bitrate video bitrate (please use -b:v)
  • -dn disable data
  • -pix_fmt format set pixel format
  • -rc_override override rate control override for specific intervals
  • -passlogfile prefix select two pass log file name prefix
  • -psnr calculate PSNR of compressed frames (deprecated, use -flags +psnr)
  • -vstats dump video coding statistics to file
  • -vstats_file file dump video coding statistics to file
  • -vstats_version Version of the vstats format to use.
  • -intra_matrix matrix specify intra matrix coeffs
  • -inter_matrix matrix specify inter matrix coeffs
  • -chroma_intra_matrix matrix specify intra matrix coeffs
  • -top top=1/bottom=0/auto=-1 field first
  • -vtag fourcc/tag force video tag/fourcc
  • -qphist show QP histogram
  • -fps_mode set framerate mode for matching video streams; overrides vsync
  • -force_fps force the selected framerate, disable the best supported framerate selection
  • -streamid streamIndex:value set the value of an outfile streamid
  • -force_key_frames timestamps force key frames at specified timestamps
  • -hwaccel hwaccel name use HW accelerated decoding
  • -hwaccel_device devicename select a device for HW acceleration
  • -hwaccel_output_format format select output format used with HW accelerated decoding
  • -fix_sub_duration_heartbeat set this video output stream to be a heartbeat stream for fix_sub_duration, according to which subtitles should be split at random access points
  • -vbsf video bitstream_filters deprecated
  • -vpre preset set the video options to the indicated preset
  • -aframes number set the number of audio frames to output
  • -aq quality set audio quality (codec-specific)
  • -ar rate set audio sampling rate (in Hz)
  • -ac channels set number of audio channels
  • -an disable audio
  • -acodec codec force audio codec ('copy' to copy stream)
  • -ab bitrate audio bitrate (please use -b:a)
  • -af filter_graph set audio filters
  • -atag fourcc/tag force audio tag/fourcc
  • -sample_fmt format set sample format
  • -channel_layout layout set channel layout
  • -ch_layout layout set channel layout
  • -guess_layout_max set the maximum number of channels to try to guess the channel layout
  • -absf audio bitstream_filters deprecated
  • -apre preset set the audio options to the indicated preset
  • -s size set frame size (WxH or abbreviation)
  • -sn disable subtitle
  • -scodec codec force subtitle codec ('copy' to copy stream)
  • -stag fourcc/tag force subtitle tag/fourcc
  • -fix_sub_duration fix subtitles duration
  • -canvas_size size set canvas size (WxH or abbreviation)
  • -spre preset set the subtitle options to the indicated preset

glab

migrate fork (https://github.com/rsteube/glab) to standalone completer

  • repo host not parsed in every command (completion should skip first element)
  • caching (labels)
  • test and fix completions

dart

test and fix errors

  • remote package completion
  • local package completion
  • project dependency completion
  • reuse commands/completion from pub

npm

https://docs.npmjs.com/cli/v7/commands

test and fix completion

  • access
  • adduser
  • audit
  • bin
  • bugs
  • cache
  • ci
  • completion
  • config
  • dedupe
  • deprecate
  • diff
  • dist-tag
  • docs
  • doctor
  • edit
  • exec
  • explain
  • explore
  • find-dupes
  • fund
  • get
  • help
  • hook
  • init
  • install
  • install-ci-test
  • install-test
  • link
  • ll
  • login
  • logout
  • ls
  • org
  • outdated
  • owner
  • pack
  • ping
  • prefix
  • profile
  • prune
  • publish
  • rebuild
  • repo
  • restart
  • root
  • run-script
  • search
  • set
  • set-script
  • shrinkwrap
  • star
  • stars
  • start
  • stop
  • team
  • test
  • token
  • uninstall
  • unpublish
  • unstar
  • update
  • version
  • view
  • whoami

docker

Management Commands:

  • builder Manage builds
  • config Manage Docker configs
  • container Manage containers
  • context Manage contexts
  • engine Manage the docker engine
  • image Manage images
  • network Manage networks
  • node Manage Swarm nodes
  • plugin Manage plugins
  • secret Manage Docker secrets
  • service Manage services
  • stack Manage Docker stacks
  • swarm Manage Swarm
  • system Manage Docker
  • trust Manage trust on Docker images
  • volume Manage volumes

Commands:

  • attach Attach local standard input, output, and error streams to a running container
  • build Build an image from a Dockerfile
  • commit Create a new image from a container's changes
  • cp Copy files/folders between a container and the local filesystem
  • create Create a new container
  • diff Inspect changes to files or directories on a container's filesystem
  • events Get real time events from the server
  • exec Run a command in a running container
  • export Export a container's filesystem as a tar archive
  • history Show the history of an image
  • images List images
  • import Import the contents from a tarball to create a filesystem image
  • info Display system-wide information
  • inspect Return low-level information on Docker objects
  • kill Kill one or more running containers
  • load Load an image from a tar archive or STDIN
  • login Log in to a Docker registry
  • logout Log out from a Docker registry
  • logs Fetch the logs of a container
  • pause Pause all processes within one or more containers
  • port List port mappings or a specific mapping for the container
  • ps List containers
  • pull Pull an image or a repository from a registry
  • push Push an image or a repository to a registry
  • rename Rename a container
  • restart Restart one or more containers
  • rm Remove one or more containers
  • rmi Remove one or more images
  • run Run a command in a new container
  • save Save one or more images to a tar archive (streamed to STDOUT by default)
  • search Search the Docker Hub for images
  • start Start one or more stopped containers
  • stats Display a live stream of container(s) resource usage statistics
  • stop Stop one or more running containers
  • tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  • top Display the running processes of a container
  • unpause Unpause all processes within one or more containers
  • update Update configuration of one or more containers
  • version Show the Docker version information
  • wait Block until one or more containers stop, then print their exit codes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.