CLI Reference
woof generate
Purpose
Generates shell completion scripts for woof.
Synopsis
Synopsiswoof generate <SHELL>
$ woof generate <SHELL>Flags
| Flag | Type | Description |
|---|---|---|
| <SHELL> | argument | Target shell. Possible values: bash, elvish, fish, powershell, zsh |
| -h, --help | boolean | Print help |
Exit Codes
- 0Script generated to standard output.
- 1Invalid shell specified.
Examples
woof generate bash > ~/.local/share/bash-completion/completions/woof
$ woof generate bash > ~/.local/share/bash-completion/completions/woof(No output, redirects to file)
Generates and saves the bash completion script.
woof generate fish | source
$ woof generate fish | sourceCompletions loaded.
Generates and immediately sources fish completions.
woof generate unknown
$ woof generate unknownError: Invalid value 'unknown' for <SHELL>
Fails when an unsupported shell is requested.
How is this guide?
Last updated on 09/11/2026