Files
openwork/packages
ben 2777e39abe feat(owpenbot): refactor CLI to non-interactive with JSON output (#307)
- Remove @clack/prompts dependency and all interactive wizard code
- Add global --json flag for machine-parseable output
- Add 'config get [key]' and 'config set <key> <value>' subcommands
- Add 'health' command (exit 0 if healthy, 1 if not)
- Add --json support to 'status', 'whatsapp status', 'telegram status'
- Add 'whatsapp qr [--format ascii|base64]' for non-interactive QR
- Add 'pairing list --json' with structured output
- Keep 'start', 'pairing approve/deny', 'whatsapp login/logout' working
- Maintain backwards compatibility with legacy command aliases
- All commands work without TTY
2026-01-28 19:34:19 -08:00
..