@spendgraph/cli
v0.15.0
Published
Drive the spendgraph dashboard from a terminal: prompts, tools, projects, keys and spend.
Maintainers
Readme
@spendgraph/cli
Drive the spendgraph dashboard from a terminal: prompts, tools, projects, keys and spend.
npm install @spendgraph/clinpm install -g @spendgraph/cli
sg config set --base-url https://spendgraph.locusgraph.com
sg login
sg tool create --name deeprecall --effect readonly --arg question:string:required
sg prompt promote pr_123 pv_456What you get
- A front-end over the SDK and nothing else. Every command that reaches the API is one SDK call.
- Nothing is sent until the command line is right — a mistyped flag is refused before a request is built, and suggests the one you meant.
- Tables by default,
--jsonfor a pipe, and an exit code worth scripting against: a 2 never reached the network. - Its own manual as agent skills, generated from the command registry so it cannot go stale.
Docs
| | | | --- | --- | | Overview | Install, sign in, and the shape | | Credentials | sg login, the layers, and no API key | | Commands | Flags, --file, and the groups | | Output and exit codes | Tables, --json, and 1 against 2 | | Skills for an agent | The manual, generated from the commands |
License
Apache-2.0
