gcrane-completion
generates shell autocompletion scripts
TLDR
Generate the autocompletion script for your shell
SYNOPSIS
gcrane completion shell [options]
DESCRIPTION
gcrane completion generates shell autocompletion scripts for the gcrane command-line tool. gcrane is a tool for working with container registries, part of Google's go-containerregistry project.
Completions provide tab-completion for gcrane commands, flags, and arguments, improving command-line efficiency. The generated scripts must be sourced or installed according to your shell's completion system.
For persistent completions, install the output to the appropriate location for your shell (bash_completion.d for Bash, fpath for Zsh, or ~/.config/fish/completions for fish).
PARAMETERS
bash
Generate Bash completion scriptzsh
Generate Zsh completion scriptfish
Generate fish completion scriptpowershell
Generate PowerShell completion script--no-descriptions
Disable completion descriptions-h, --help
Display help for completion command
CAVEATS
Installation paths vary by system configuration. Zsh requires the completion directory to be in fpath before compinit is called. Some systems may require logging out and back in for changes to take effect.
