Files
openclaw/docs/cli/completion.md
T
Tabula Myriad a9ae1a6778 feat: Triad development iteration complete
Matrix Protocol:
- docker-compose.matrix.yml: Dendrite homeserver + PostgreSQL + Nginx TLS
- src/channels/plugins/matrix-channel.ts: OpenClaw plugin implementation
- docs/matrix-triad-setup.md: Setup guide with auth scheme (@tm1-4:triad.local)

MCP Server Integration:
- docs/mcp-triad-integration.md: SearXNG, Playwright, GitHub MCP configs
- docs/mcp-curiosity-mapping.md: Gap-to-capability mapping

Node Sync Architecture:
- src/services/node-sync-service.ts: WebSocket peer sync + presence detection
- src/services/node-sync-service.test.ts: Unit tests
- docs/node-sync-architecture.md: Architecture docs

Triad Resilience:
- scripts/triad-corruption-check.mjs: SQLite + log + config + git integrity
- docs/triad-resilience.md: Recovery procedures
- .secure/deployment-logs/README.md: Schema v2
- skills/triad-heartbeat/SKILL.md: Corruption check integration

NPM Publish Workflow:
- scripts/npm-publish.mjs: version, changelog, validate, publish, rollback
- .github/workflows/npm-publish.yml: GitHub Actions with provenance
- docs/npm-publish-guide.md: Complete documentation

All deliverables tested in Docker before production.
2026-03-24 00:44:50 -04:00

1.2 KiB
Executable File

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

openclaw 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 $OPENCLAW_STATE_DIR/completions without printing to stdout
  • -y, --yes: skip install confirmation prompts

Notes

  • --install writes a small "OpenClaw 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.