Install shell completions for any CLI that supports a
<name> completion <shell> subcommand (the convention used by
urfave/cli and others).
Just run:
comp <cli-name>comp detects your shell automatically and writes the completion script to the
right place. Works on Linux, macOS and Windows with bash, zsh, fish and
PowerShell. Pass a shell explicitly if you want to override detection:
comp <cli-name> [bash|zsh|fish|powershell]go install github.com/piechutowski/comp@latestOr, if you use gobin:
gobin addr github.com/piechutowski/compIf ~/go/bin is not on your PATH, add it with fish_add_path ~/go/bin.