Skip to content

Shell Completion

Enable tab completion for faster CLI usage.

Add to ~/.bashrc:

Terminal window
eval "$(bwrb completion bash)"

Add to ~/.zshrc:

Terminal window
eval "$(bwrb completion zsh)"

Run once:

Terminal window
bwrb completion fish > ~/.config/fish/completions/bwrb.fish
ContextCompletion
bwrb <TAB>Visible commands: new, edit, delete, list, recent, schema, audit, bulk, template, lineage, dashboard, init, config, completion
bwrb schema <TAB>Subcommands: types, fields, validate, discover, new, edit, delete, list, diff, migrate, history
bwrb template <TAB>Subcommands: list, validate, new, edit, delete
bwrb lineage <TAB>Subcommand: adopt
bwrb recent -<TAB>Options including --open, --app, --save-as, and --force
bwrb list -<TAB>Options: --type, --path, --where
bwrb new <TAB>Types from schema: task, idea
bwrb list --path <TAB>Directories: Ideas/, Projects/

Completions are context-aware:

  • Types come from your vault’s schema
  • Paths come from your vault’s directory structure
  • No hard-coded values

Root command and maintained subcommand candidates are contract-tested against the built CLI help surface.