muster completion
Print a shell completion script for bash, zsh or fish.
Synopsis
Terminal
muster completion bash|zsh|fishDescription
Completes commands, subcommands, flags, services (from muster.json), fleet servers and env names. Services, servers and flags are looked up when you press Tab, so the script never needs regenerating.
Examples
Terminal
# bash
echo 'eval "$(muster completion bash)"' >> ~/.bashrc
# zsh (after compinit)
echo 'eval "$(muster completion zsh)"' >> ~/.zshrc
# or
muster completion zsh > "${fpath[1]}/_muster"
# fish
muster completion fish > ~/.config/fish/completions/muster.fish