CLI
Every action from a shell or a script: sign-in, commands, input, output and exit codes.
netzo is every action from a shell. It prints tables to a person and JSON to an agent or a script, never asks an agent a question, and returns a stable exit code.
npm i -g @netzo/cli
netzo login # or: export NETZO_API_KEY=...
netzo search "approve sales order" # find the command
netzo salesorders find --fields id,status --all > orders.ndjson
netzo can salesorders.approve # allowed? and why
netzo salesorders approve <id>
netzo blobs put salesorders <id> ./contract.pdf| Exit code | Means |
|---|---|
0 | Done |
1 | Error |
2 | Usage error or missing input |
3 | Not signed in |
4 | Not allowed |
5 | Not found |
6 | Conflict or invalid data |
Input
A command takes one flag per field, such as --label "Acme México", or the whole record with --input '<json>', --input @file.json or --input - (stdin). Add --dry-run to check a write without saving, and --place <module>/<row> to act in one place.