\n \n
Reference
\n
CLI Reference
\n
All commands, flags, and expected output for traverse-cli.
\n
\n v0.8.1\n traverse-cli\n
\n
\n\n \n \n
Installation
\n
Build the CLI from the workspace. No separate install step needed.
\n
\n \n
\n
$ cargo build -p traverse-cli
\n
Compiling traverse-cli v0.8.1
\n
Finished dev [unoptimized + debuginfo] target(s)
\n
\n
\n
The binary is at target/debug/traverse-cli after building. Use cargo run -p traverse-cli -- during development to build and run in one step.
\n
\n\n \n \n
Global flags
\n
These flags work with any command.
\n
\n \n | Flag | Description |
\n \n \n \n | --help | \n Print help text for any command. Works at the top level and on each subcommand. | \n
\n \n | --version | \n Print the CLI version and exit. | \n
\n \n
\n
\n \n
\n
$ traverse-cli --version
\n
traverse-cli 0.7.0
\n
$ traverse-cli --help
\n
Traverse CLI — contract-driven WASM runtime
\n
\n
Usage: traverse-cli [COMMAND]
\n
\n
Commands:
\n
bundle Inspect and manage capability bundles
\n
browser-adapter Run the local browser adapter server
\n
\n
\n
\n\n \n \n
bundle
\n
bundle inspect <path>
\n
\n Inspect a registry bundle. Prints the bundle name, version, and all capabilities found in the manifest. Validates the manifest format without executing anything.\n
\n
traverse-cli bundle inspect <PATH>
\n
\n \n | Argument / Flag | Type | Description |
\n \n \n \n | <PATH> | \n path | \n Path to the bundle directory. Must contain a manifest.json. | \n
\n \n | --verbose | \n flag | \n Print full contract details for each capability. | \n
\n \n
\n
\n \n
\n
$ cargo run -p traverse-cli -- bundle inspect ./bundles/expedition
\n
\n
Bundle: expedition
\n
Version: 1.0.0
\n
Capabilities: 1
\n
\n
plan-expedition
\n
version: 1.0.0
\n
target: local
\n
binary: plan_expedition.wasm
\n
inputs: goal (string), team_size (integer), duration_days (integer)
\n
outputs: plan (string), equipment_list (array)
\n
emits: expedition.planned
\n
\n
\n
\n\n \n \n
browser-adapter
\n
browser-adapter serve
\n
\n Start the local browser adapter. This is an HTTP server that sits between your React app and the Traverse runtime. It exposes a /execute endpoint and a /health endpoint. The adapter loads the specified bundle at startup.\n
\n
traverse-cli browser-adapter serve --bind <ADDR> [--bundle <PATH>]
\n
\n \n | Flag | Type | Default | Description |
\n \n \n \n | --bind | \n string | \n 127.0.0.1:4174 | \n Address and port to listen on. | \n
\n \n | --bundle | \n path | \n default bundle | \n Path to the bundle directory to load at startup. | \n
\n \n
\n
\n \n
\n
$ cargo run -p traverse-cli -- browser-adapter serve \\
\n
--bind 127.0.0.1:4174 \\
\n
--bundle ./bundles/expedition
\n
\n
Loading bundle: ./bundles/expedition
\n
plan-expedition v1.0.0 ... ok
\n
Registry ready. 1 capability loaded.
\n
Adapter listening on 127.0.0.1:4174
\n
\n
\n
The adapter runs until you stop it with Ctrl-C. It does not hot-reload bundles. Restart after any bundle changes.
\n
\n\n \n \n
Coming soon
\n
register <bundle> not yet available
\n
\n Register a bundle with a remote registry. This command will push the bundle manifest and WASM binaries to a registry endpoint and index all capabilities for remote discovery.\n
\n
traverse-cli register <BUNDLE_PATH> --registry <URL>
\n
Planned for a future release. Track progress on GitHub.
\n
\n\n \n \n
Coming soon
\n
list not yet available
\n
\n List all capabilities registered with a remote registry. Will output capability IDs, versions, and available targets in a table.\n
\n
traverse-cli list [--registry <URL>] [--json]
\n
Planned for a future release.
\n
\n\n \n \n
Coming soon
\n
validate <contract> not yet available
\n
\n Validate a single contract file against the Traverse contract schema. Will report any missing required fields, type mismatches, or invalid constraint declarations.\n
\n
traverse-cli validate <CONTRACT_PATH>
\n
Planned for a future release.
\n
\n\n \n \n
Coming soon
\n
run <capability-id> not yet available
\n
\n Execute a capability directly from the CLI. Will load the bundle, run the capability with the provided inputs, and print the trace artifact to stdout.\n
\n
traverse-cli run <CAPABILITY_ID> --bundle <PATH> --input <JSON>
\n
Planned for a future release.
\n
\n\n