bwrb completion
Generate shell completion scripts for tab completion.
Synopsis
Section titled “Synopsis”bwrb completion <shell>Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
shell | Shell type: bash, zsh, fish |
Installation
Section titled “Installation”Add to ~/.bashrc:
eval "$(bwrb completion bash)"Add to ~/.zshrc:
eval "$(bwrb completion zsh)"Run once to install:
bwrb completion fish > ~/.config/fish/completions/bwrb.fishWhat Gets Completed
Section titled “What Gets Completed”| Context | Completions |
|---|---|
bwrb <TAB> | Visible commands: new, edit, delete, list, recent, schema, audit, bulk, template, lineage, dashboard, init, config, completion |
bwrb schema <TAB> | Schema subcommands, including types, fields, and discover |
bwrb template <TAB> | Template 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, etc. |
bwrb new <TAB> | Types from your schema |
bwrb list --type <TAB> | Types from your schema |
bwrb list --path <TAB> | Directories in your vault |
- Completions are generated dynamically from your vault’s schema
- Ensure
BWRB_VAULTis set or run from within a vault directory - Root command and maintained subcommand candidates are contract-tested against the built CLI help surface
- Restart your shell after adding the completion script
See Also
Section titled “See Also”- Shell completion guide — Detailed setup