1ctl completion
1ctl completion generates shell completion scripts and can auto-detect your shell to install them automatically.
1ctl completion| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--help, -h |
boolean | No | — | Show help |
Subcommands
Section titled “Subcommands”| Command | Description |
|---|---|
install |
Auto-detect shell and install completion (add one line to shell config) |
bash |
Generate bash completion script |
zsh |
Generate zsh completion script |
fish |
Generate fish completion script |
powershell |
Generate PowerShell completion script |
Examples
Section titled “Examples”# Auto-detect shell and install completion1ctl completion install
# Generate and save bash completion1ctl completion bash > ~/.bash_completion.d/1ctl
# Generate fish completion1ctl completion fish > ~/.config/fish/completions/1ctl.fish