Files
bot/docs/cli/completion.md
zooqueen 071e3f1082 rebrand: openclaw -> hanzo bot across entire codebase
Automated rebrand of all openclaw references to hanzo bot:
- Package: openclaw -> @hanzo/bot
- Binary: openclaw -> hanzo-bot
- Config: ~/.openclaw -> ~/.hanzo/bot
- Docker: ghcr.io/hanzoai/bot
- Env vars: OPENCLAW_* -> BOT_*
- Bundle IDs: ai.hanzo.bot.*
- Product name: Hanzo Bot
2026-03-19 13:52:32 -07:00

1.2 KiB

summary, read_when, title
summary read_when title
CLI reference for `hanzo-bot completion` (generate/install shell completion scripts)
You want shell completions for zsh/bash/fish/PowerShell
You need to cache completion scripts under Hanzo Bot state
completion

hanzo-bot completion

Generate shell completion scripts and optionally install them into your shell profile.

Usage

openclaw completion
openclaw completion --shell zsh
openclaw completion --install
openclaw completion --shell fish --install
openclaw completion --write-state
openclaw completion --shell bash --write-state

Options

  • -s, --shell <shell>: shell target (zsh, bash, powershell, fish; default: zsh)
  • -i, --install: install completion by adding a source line to your shell profile
  • --write-state: write completion script(s) to $BOT_STATE_DIR/completions without printing to stdout
  • -y, --yes: skip install confirmation prompts

Notes

  • --install writes a small "Hanzo Bot Completion" block into your shell profile and points it at the cached script.
  • Without --install or --write-state, the command prints the script to stdout.
  • Completion generation eagerly loads command trees so nested subcommands are included.