Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Installation
Ubuntu / Debian
wajig install bash-completion
macOS
brew install bash-completion
Develop Bash Completion
Auto Generate Bash Completion Scripts
-
The cobra library in GoLang supports auto genrating shell (bash, fish, zsh and PowerShell) completion scripts.
-
The Python library argcomplete provides easy, extensible command line tab completion of arguments for your Python application. It makes two assumptions:
- You're using bash or zsh as your shell.
-
You're using argparse to manage your command line arguments/options.
-
The Ruby library (and also command-line tool) completely lets you generate bash completion scripts from simple YAML configuration.