Skip to main content

Module cli

Module cli 

Source
Expand description

Clap derive for the memstead binary, lifted out of main.rs so the xtask doc generator can call Cli::command() against the same tree the binary exposes — no duplicated declarations, no drift.

One crate, two build configs: the default (mem-repo) build exposes the full command set including the multi-mem / mem-repo lifecycle subcommands; --no-default-features drops those, leaving the engine-agnostic surface.

Structs§

Cli
Query and mutate Memstead knowledge graphs from the shell.

Enums§

Command

Constants§

EXIT_CODES_HELP
Top-level --help epilog describing the exit-code posture. The taxonomy is intentionally coarse — success vs failure — because agents read JSON, not exit codes, and shell scripts can lift the granular code from --json | jq .code.