@occam-scaly/scaly-cli
v0.2.18
Published
Scaly CLI (auth + project config helpers)
Readme
@occam-scaly/scaly-cli
Scaly CLI for end users. Enables:
scaly auth login(session token for advanced MCP tools: databases/storage/logs).scaly/config.yamlworkflows (scaly plan/scaly apply/scaly pull)
Install (recommended)
npm install -g @occam-scaly/scaly-cliNo-install (works anywhere Node is available)
npx -y @occam-scaly/scaly-cli auth loginUsage
scaly auth login
scaly auth status
scaly auth logoutDiagnostics
scaly app diagnose --app-id <appId>
scaly app diagnose --stack <stackId> --app <name> --jsonDiagnostics are served by Scaly's shared app diagnostic report. Human output
shows status, phase, top finding, evidence, and next actions; --json prints
the full AppDiagnosticReport.
Project config
From a project repo containing .scaly/config.yaml:
scaly plan --json
scaly apply --auto-approve --plan-hash sha256:... --json
scaly pull --jsonStages
scaly auth login --stage dev
scaly auth login --stage qa
scaly auth login --stage prodAuth store
The CLI writes a short-lived session token to:
~/.config/scaly/auth.json(or$XDG_CONFIG_HOME/scaly/auth.json)
The Scaly MCP server reads this on-demand, so refreshing your token does not require restarting VS Code/Codex.
