Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

docs(cua-driver): include manifest in generated CLI docs (#2069)

injaneity1d2ed752450d
diff --git a/docs/content/docs/reference/cua-driver/cli-reference.mdx b/docs/content/docs/reference/cua-driver/cli-reference.mdx
index 259a1dfc5c..89b7a2e584 100644
--- a/docs/content/docs/reference/cua-driver/cli-reference.mdx
+++ b/docs/content/docs/reference/cua-driver/cli-reference.mdx
@@ -424,6 +424,18 @@ Report local skill-pack and per-agent link state.
Print the local skill-pack path.
+### `cua-driver manifest`
+
+Emit a stable JSON description of the CLI surface.
+
+Consumers can use this instead of hardcoding launch arguments such as the MCP invocation.
+
+**Flags:**
+
+| Name | Description |
+| ---- | ----------- |
+| `-p`, `--pretty` | Pretty-print JSON. |
+
### `cua-driver dump-docs`
Output machine-readable CLI and MCP documentation JSON.
diff --git a/libs/cua-driver/rust/crates/cua-driver/src/cli.rs b/libs/cua-driver/rust/crates/cua-driver/src/cli.rs
index 70c4a3033f..a78e7844cd 100644
--- a/libs/cua-driver/rust/crates/cua-driver/src/cli.rs
+++ b/libs/cua-driver/rust/crates/cua-driver/src/cli.rs
@@ -3176,6 +3176,15 @@ fn cli_docs_json() -> serde_json::Value {
{"name":"path","abstract":"Print the local skill-pack path.","discussion":"","arguments":[],"options":[],"flags":[],"subcommands":[]}
]
},
+ {
+ "name": "manifest",
+ "abstract": "Emit a stable JSON description of the CLI surface.",
+ "discussion": "Consumers can use this instead of hardcoding launch arguments such as the MCP invocation.",
+ "arguments": no_args,
+ "options": no_options,
+ "flags": [{"name":"pretty","short_name":"p","help":"Pretty-print JSON.","default_value":false}],
+ "subcommands": no_subcommands
+ },
{
"name": "dump-docs",
"abstract": "Output machine-readable CLI and MCP documentation JSON.",