Bash:
$ source <(stackkit completion bash)
# To load completions for each session, execute once:
# Linux:
$ stackkit completion bash > /etc/bash_completion.d/stackkit
# macOS:
$ stackkit completion bash > $(brew --prefix)/etc/bash_completion.d/stackkit
Zsh:
# If shell completion is not already enabled in your environment,
# you will need to enable it. Execute once:
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
# To load completions for each session, execute once:
$ stackkit completion zsh > "${fpath[1]}/_stackkit"
# You will need to start a new shell for this to take effect.
Fish:
$ stackkit completion fish | source
# To load completions for each session, execute once:
$ stackkit completion fish > ~/.config/fish/completions/stackkit.fish
PowerShell:
PS> stackkit completion powershell | Out-String | Invoke-Expression
# To load completions for each session, execute once and source this file
# from your PowerShell profile.
PS> stackkit completion powershell > stackkit.ps1
stackkit completion [bash|zsh|fish|powershell]
