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

FlagTypeDefaultMeaning
<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

CodeMeaning
0Success
1Processing failed
2Usage or parameter error
3Input missing or unreadable
8Cancelled
70Internal error (bug)

Common mistakes

  • Expecting human-readable text when scripting: add --json for 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": {}}