30 groups · 130+ subcommands. Every command runs as hoox or its short alias hx. After the first monorepo run, the CLI remembers the path so hx works from any directory. Bare hoox auto-runs onboard when wrangler.jsonc is missing; otherwise it launches the TUI.
@hoox-sh/hoox-cli • v0.13.0 • 67 test files · TUI 0.3.x
Installation guidealias: bootstrap · quickstart
One-shot bootstrap: runs init + setup in sequence. Recommended first command. Aliases: bootstrap, quickstart.
Interactive wizard: write wrangler.jsonc and collect account/secrets. Does not generate keys, apply schema, or deploy.
After init, run hoox setup (or prefer hoox onboard).
Provision workspace: wrangler, submodules, build, keys, D1 schema, secrets, dashboard. Each step skippable.
Clone worker repositories as git submodules. No name lists clone status; --all clones every worker.
Local development engine. Start all enabled workers, a single worker, or the Next.js dashboard (native or Docker).
Dashboard shortcuts. Delegates to dev dashboard / deploy dashboard.
OpenTUI terminal operations center. Bare hoox auto-runs onboard when wrangler.jsonc is missing; otherwise launches the TUI (or menu).
Remote mode is fail-closed: Bearer (HOOX_API_TOKEN / --token), Cloudflare® Access service tokens, or explicit --allow-insecure.
Per-worker convenience facade: list status, start dev, or tail logs (delegates to dev/logs).
Edge deployment: workers, dashboard (OpenNext), Telegram webhook, KV config, version history and rollback.
Cloudflare® resource lifecycle: D1, KV, R2, Queues, Vectorize, Analytics Engine — plus auto-provision from wrangler.jsonc.
Pull latest main repo, update a worker submodule, or upgrade wrangler. Not an npm self-update of the CLI binary.
wrangler.jsonc and nested env/kv tools. Prefer top-level hoox secrets / hoox keys over nested legacy paths.
Legacy: config secrets / config keys still work; prefer hoox secrets and hoox keys.
Preferred secrets surface. List, set, delete, and sync encrypted worker secrets (.dev.vars ↔ Cloudflare®).
Prefer --system after key rotation. Full sync reports synced / skipped (placeholders) / failed.
Internal auth keys for inter-worker communication. Written under .keys/ (gitignored).
Validate worker wrangler.jsonc against canonical manifests; list bindings; generate configs.
Validate toolchain, full setup, worker health endpoints, and auto-fix common issues.
Diagnose global runtime: HOOX_HOME, remembered monorepo path, TUI entry, optional operator-plane security probes.
Resolution order: HOOX_REPO → walk-up from cwd → ~/.hoox/config/monorepo.json → ~/.hoox/repo. Prints Remembered, Runtime root, and Source.
Diagnose and heal: redeploy workers, provision missing infra, re-sync secrets/KV, re-apply DB, full rebuild.
Verification pipeline: lint → typecheck → unit → integration, plus live Cloudflare® service tests.
D1 administration: apply schema, migrations, list tables, query SQL, export, destructive reset.
Operate the Python pyne-worker isolate — Pine Script™ edge evaluate (health, run, scripts, cron, feed, ingest, vendor, deploy).
This is the pyne-worker operator surface — not the desk `pyne` Click CLI (that lives on PYNE / pip install hoox-pyne).
Ops controls: recent trades, D1 system logs, kill-switch, queue depth, D1 backup, analytics rollups.
Live Cloudflare® Worker log tail for one worker or all enabled workers.
Cloudflare® Workers Observability (beta): spans, metrics, live tail, filter keys, OTLP destinations, usage.
Probe-based fast-path latency: batch run (p50/p95/p99), continuous tail, historical report from observability.
AI agent ops — probe multi-provider model gateway health.
Cloudflare® WAF: status, firewall rules (allow/block/rate-limit/custom), enable/disable mode on zone.
Private ingress helpers for operator management paths (Cloudflare® Tunnel + Access). Optional — many deployments only need Access on a mgmt hostname.
Pairs with hoox doctor --security and hoox config transport (public | access | mtls | tunnel).
Generate shell completion scripts for bash, zsh, or fish.
Print legal disclaimers and trademark information.