CLI: Shell completion
A command to print a script for completing commands and flags in your shell. Common flags that you can add to any command (--host, --json, and others) are in the CLI command reference.
| Command | Description |
|---|---|
hakocms-cli completion |
Print a shell completion script |
hakocms-cli completion
Section titled “hakocms-cli completion”Print a shell completion script.
Example (zsh): hakocms-cli completion zsh > “${fpath[1]}/_hakocms-cli”.
Example (bash): hakocms-cli completion bash > ~/.local/share/bash-completion/completions/hakocms-cli.
hakocms-cli completion <SHELL>| Flag or argument | Description |
|---|---|
<SHELL> |
bash, zsh, fish, powershell, elvish |