From 7b32d7e696c2268d865cba622b79e634fdeb104f Mon Sep 17 00:00:00 2001 From: Zbigniew Sobiecki Date: Sun, 22 Feb 2026 17:21:36 +0000 Subject: [PATCH] docs: add local CLI invocation instructions to CLAUDE.md Document that `node bin/cascade.js` is needed in development since the `cascade` binary isn't globally installed. Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 467aa3fb..c91b116e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -292,10 +292,20 @@ psql $DATABASE_URL -c "INSERT INTO users (org_id, email, password_hash, name, ro CASCADE includes a `cascade` CLI for managing the platform from the terminal. It consumes the same tRPC endpoints as the web dashboard — no business logic duplication, full type safety. +### Running the CLI + +In production the `cascade` binary is available globally. In development, run it via: + +```bash +npm run build # Compile TypeScript (required before first use) +node bin/cascade.js # Run any CLI command +``` + +All examples below use the bare `cascade` name — substitute `node bin/cascade.js` when running locally. + ### Setup ```bash -npm run build # Compile TypeScript cascade login --server http://localhost:3000 --email you@example.com --password secret cascade whoami # Verify session ```