completion
whzbox completion <shell> writes a shell completion script to stdout.
Syntax
whzbox completion [bash|zsh|fish|powershell]
Arguments
| Argument | Required | Values | Description |
|---|---|---|---|
shell | Yes | bash, zsh, fish, powershell | Target shell for the generated completion script. |
Flags
This command uses only the global flags.
Behavior
- Is provided by Cobra's built-in completion command.
- Writes the script to stdout.
- Does not require a state directory or network access.
Output
Shell-specific completion script text.
Exit behavior
0on success1on generic command failure