ferraus completions
Print a shell completion script
Synopsis
ferraus completions <shell> [options]
What it does
Print a shell completion script
Examples
Install zsh completions
ferraus completions zsh > ~/.zfunc/_ferraus
Install bash completions
ferraus completions bash > ~/.local/share/bash-completion/completions/ferraus
Install fish completions
ferraus completions fish > ~/.config/fish/completions/ferraus.fish
Options
| Flag | Type | Default | Meaning |
|---|---|---|---|
<shell> | bash | zsh | fish | powershell | elvish | — | Shell to generate completions for Required. |
Global options
Every command also accepts the global options (-o, --json, --dry-run, --overwrite, --progress, ...). See Global options.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Processing failed |
| 2 | Usage or parameter error |
| 3 | Input missing or unreadable |
| 8 | Cancelled |
| 70 | Internal error (bug) |
Common mistakes
- Expecting human-readable text when scripting: add
--jsonfor a stable machine result.
For models
- MCP tool:
ferraus_completions - Schema:
ferraus schema completions - Pipeline:
{ op: completions, args: { ... } }(flag names with_instead of-) - fx stage: no
{"command": "completions", "defaults": {}}