consciousness/src/cli/mod.rs
2026-04-12 23:03:00 -04:00

17 lines
410 B
Rust

// cli/ — command-line interface handlers
//
// Split from main.rs for readability. Each module handles a group
// of related subcommands.
pub mod graph;
pub mod node;
pub mod agent;
pub mod admin;
pub mod journal;
/// Exit silently if POC_MEMORY_DRY_RUN=1.
pub fn check_dry_run() {
if std::env::var("POC_MEMORY_DRY_RUN").is_ok_and(|v| v == "1" || v == "true") {
std::process::exit(0);
}
}