summaryrefslogtreecommitdiff
path: root/src/cli/spec.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-04 15:46:31 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-04 16:51:10 +0300
commit5d9212a55acf4db05b8c5cdf3fee3c56ac404cf7 (patch)
tree956276a6b85a52e3a5e0703eb0e5ddf7bc5f9f3c /src/cli/spec.rs
parent15cab964f3494b77159caaea289e17e1596e0720 (diff)
feat: expose session snapshot through cli
Diffstat (limited to 'src/cli/spec.rs')
-rw-r--r--src/cli/spec.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cli/spec.rs b/src/cli/spec.rs
index 71ecd9cc..088bc15e 100644
--- a/src/cli/spec.rs
+++ b/src/cli/spec.rs
@@ -128,7 +128,8 @@ fn server_command() -> Command {
fn api_command() -> Command {
Command::new("api")
- .about("Inspect socket API metadata")
+ .about("Inspect socket API metadata and live runtime state")
+ .subcommand(Command::new("snapshot").about("Print the live session snapshot"))
.subcommand(
Command::new("schema")
.about("Print or write the bundled API schema")