Generate shell completion scripts
phala completion [options]
| Flag | Short | Default | Description |
|---|---|---|---|
--shell |
auto-detect | Shell type (bash, zsh, fish) | |
--fig |
Generate Fig/Amazon Q completion spec |
If --shell is omitted, the CLI will auto-detect the shell from the $SHELL environment variable.
$ phala completion --shell bash >> ~/.bashrc && source ~/.bashrc$ phala completion --shell zsh >> ~/.zshrc && source ~/.zshrc$ phala completion --shell fish > ~/.config/fish/completions/phala.fish$ phala completion --fig