nerve/cli/commands/
mod.rs

1//! CLI Commands Module
2//!
3//! Contains implementations for all CLI commands and subcommands.
4
5pub mod status;
6pub mod memory;
7pub mod threads;
8pub mod nodes;
9pub mod comms;
10pub mod perf;
11pub mod config;
12pub mod debug;
13
14use crate::cli::CliConfig;
15use crate::cli::CliError;
16
17/// Trait for all CLI commands
18pub trait CliCommand {
19    /// Execute the command with the given configuration
20    fn execute(&self, config: &CliConfig) -> Result<(), CliError>;
21}