Resource Commands
The CLI exposes every method of @revos/api-client as a topic-prefixed command. Each topic mirrors a resource and supports standard CRUD verbs (list, get, create, update, delete) plus resource-specific extras.
List Flags
All list commands accept pagination, ordering, and filtering flags:
revos tables list --page-size 50 --order-by 'createdAt desc'
revos scores list --filter 'scoringModelId == "abc-123"'
| Flag | Description |
|---|---|
--page-size | Maximum number of items to return |
--page-token | Token for the next page (from previous response) |
--order-by | Field to order results by (e.g. createdAt desc) |
--filter | Filter expression using CEL syntax |
--fields | Comma-separated list of fields to include |
Request Bodies (--body)
create and update commands take a --body flag. Three input forms are supported:
# Inline JSON literal
revos tables create --body '{"name":"customers","sql_table":"customers"}'
# Read from file
revos tables create --body @./table.json
# Read from stdin
cat table.json | revos tables create --body -
Invalid JSON is rejected before any HTTP call is made.