{bash,zsh,fish,powershell,nushell}-completions for 1000+ commands.
Feature | Showcase |
---|---|
Parallel Computing |
_choice_ref() { |
Fetch remote data | |
Complete multiple values (comma-seperated) |
|
Complete multiple parts | |
Complete key-value pairs | |
Complete for plugins (git,cargo ...) |
|
Delegate to another command (sudo,doas,npx...) |
|
Style & color |
git clone https://github.com/sigoden/argc-completions.git
cd argc-completions
./scripts/download-tools.sh
./scripts/setup-shell.sh bash # bash/zsh/powershell/fish/nushell/elvish/xonsh/tcsh
For Windows, please run the above code in Git Bash. For macOS,
brew install bash gawk gnu-sed
to avoid compatibility issues.
Tools downloaded by ./scripts/download-tools.sh
:
argc-completions
directory that you have downloaded.~/.bashrc
, ~/.zshrc
, ...)../scripts/generate.sh your-command
To learn how generate
works, see docs/generate.md
To learn various complete patterns, see docs/complete-patterns.md
Argc-completions is made available under the terms of the MIT License.
See the LICENSE file for license details.