riot-cli
v0.0.1Command-line interface for Riot
riot add riot-cli riot-cli = "0.0.1" - Last release
- Apr 2, 2026
- License
- Apache-2.0
- Dependencies
- 14
- Dependents
- 0
- Installs
- 1
- Published versions
- 1
- Owner
-
@leostera
README Expand Collapse
riot-cli
Command-line interface for the Riot build system.
Overview
The Riot CLI provides a one-shot interface to the Riot build system. Each command discovers the workspace, performs the requested work, and exits.
Commands
Build Commands
riot build- Build all packages in the workspaceriot build --json- Stream machine-readable JSONL build events, including action-level events from the executorriot build --package <name>- Build a specific packageriot clean- Clean build artifactsriot install- Install dependencies
Run Commands
riot run <binary>- Run a binary from any packageriot test- Run tests
Project Management
riot new <name>- Create a new packageriot publish- Publish workspace packages in dependency orderriot publish -p <name>- Publish a specific workspace packageriot fmt --check- Check OCaml formatting with krasnyriot fmt --check --json- Emit JSONL formatting events
Dependencies
This package depends on:
std- Standard libraryactors- Actor runtimeriot-model- Core data modelsriot-fmt- Formatting command wrapperriot-build- Local build session runtimeriot-planner- Build planningriot-executor- Build executionriot-store- Artifact storageriot-toolchain- OCaml toolchain integration
Architecture
The CLI starts a local riot session per command, streams build events directly, and exits when the command is complete. There is no daemon, RPC transport, or client package on the core path.
riot-cli
Command-line interface for the Riot build system.
Overview
The Riot CLI provides a one-shot interface to the Riot build system. Each command discovers the workspace, performs the requested work, and exits.
Commands
Build Commands
riot build- Build all packages in the workspaceriot build --json- Stream machine-readable JSONL build events, including action-level events from the executorriot build --package <name>- Build a specific packageriot clean- Clean build artifactsriot install- Install dependencies
Run Commands
riot run <binary>- Run a binary from any packageriot test- Run tests
Project Management
riot new <name>- Create a new packageriot publish- Publish workspace packages in dependency orderriot publish -p <name>- Publish a specific workspace packageriot fmt --check- Check OCaml formatting with krasnyriot fmt --check --json- Emit JSONL formatting events
Dependencies
This package depends on:
std- Standard libraryactors- Actor runtimeriot-model- Core data modelsriot-fmt- Formatting command wrapperriot-build- Local build session runtimeriot-planner- Build planningriot-executor- Build executionriot-store- Artifact storageriot-toolchain- OCaml toolchain integration
Architecture
The CLI starts a local riot session per command, streams build events directly, and exits when the command is complete. There is no daemon, RPC transport, or client package on the core path.