@socialrouter/cli package lets you run services, browse the catalogue, and check your account from the terminal. It wraps the SDK and adds formatted output with spinners.
Installation
Authentication
Set your API key as an environment variable:Quick example
All commands
run
Run a service over one or more inputs.
services & sources
Browse the catalogue: input shapes, options, offers, prices.
get
Retrieve a past run by ID.
balance & usage
Check credits and usage stats.
JSON output
Every command supports-j / --json for raw JSON, useful for piping: