Generate the autocompletion script for gcrane for the specified shell. The available shells are
bash
,fish
,powershell
, andzsh
. More information: https://github.com/google/go-containerregistry/blob/main/cmd/gcrane/README.md.
gcrane completion {{shell_name}}
gcrane completion {{shell_name}} --no-descriptions
source <(gcrane completion bash/zsh)>
gcrane completion fish | source
gcrane completion bash > $(brew --prefix)/etc/bash_completion.d/gcrane
gcrane completion zsh > $(brew --prefix)/share/zsh/site-functions/_gcrane
gcrane completion fish > ~/.config/fish/completions/gcrane.fish
gcrane completion {{shell_name}} {{-h|--help}}