Installation
Global install:Commands
jam list
List all available nodes.
| Flag | Description |
|---|---|
--category <cat> | Filter by category: logic, transform, integration, action |
--json | Output as JSON |
jam run <node>
Run a node interactively.
| Flag | Description |
|---|---|
-i, --input <json> | JSON input (skips interactive prompts) |
--mock | Use mock data (no API keys needed) |
-y, --yes | Skip confirmation prompts |
--input is not provided, the CLI prompts for each required field interactively.
jam init
Generate an .env template with all supported credential placeholders.
.env file with entries for:
jam credentials
Manage saved credentials.
| Subcommand | Description |
|---|---|
jam credentials list | Show all saved credentials |
jam credentials set <service> <key> | Save a credential |
jam credentials check <service> | Check if a credential exists |
jam credentials delete <service> | Remove a credential |
Credential Priority
The CLI checks credentials in this order:- Environment variables -
JAM_<SERVICE>_API_KEYformat - Encrypted local storage - saved via
jam credentials set - Runtime prompts - asked during
jam run
Scripting
The CLI supports JSON output for scripting with tools likejq:
| Code | Meaning |
|---|---|
0 | Success |
1 | Error (invalid input, missing credentials, execution failure) |