v0.3.0Rustywoof v0.3.0 is out — local OSV lockfile auditing and browser WASM secret scanning.Read the release notes
Documentation
CLI Reference

woof generate

Purpose

Generates shell completion scripts for woof.

Synopsis

Synopsiswoof generate <SHELL>
$ woof generate <SHELL>

Flags

FlagTypeDescription
<SHELL>argumentTarget shell. Possible values: bash, elvish, fish, powershell, zsh
-h, --helpbooleanPrint 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