mecha10-cli 0.1.47

Mecha10 CLI tool
Documentation
//! CLI command argument definitions
//!
//! This module contains pure clap Args/Subcommand definitions with no business logic.
//! All command implementations have been moved to handlers.
//!
//! # Architecture
//!
//! - **commands/**: Pure clap Args structures (this module)
//! - **handlers/**: Orchestration logic that uses services
//! - **services/**: Core business logic
//!
//! Each command file contains only its argument definition using clap derive macros.

// Command argument structs
pub mod add;
pub mod auth;
pub mod build;
pub mod config;
pub mod dev;
pub mod diagnostics;
pub mod format;
pub mod init;
pub mod lint;
pub mod logs;
pub mod models;
pub mod node;
pub mod remote;
pub mod run;
pub mod setup;
pub mod status;
pub mod topics;
pub mod topology;
pub mod upload;

// Re-export Args/Command types for convenience (used by library consumers and handlers)
#[allow(unused_imports)]
pub use add::{AddCommand, AddNodeArgs};
#[allow(unused_imports)]
pub use auth::{AuthCommand, LoginArgs, WhoamiArgs};
#[allow(unused_imports)]
pub use build::{BuildCommand, BuildTargetArgs, TargetArch, VersionBump};
#[allow(unused_imports)]
pub use config::{ConfigCommand, ConfigListArgs, ConfigPullArgs, ConfigPushArgs};
#[allow(unused_imports)]
pub use dev::DevArgs;
#[allow(unused_imports)]
pub use diagnostics::DiagnosticsArgs;
#[allow(unused_imports)]
pub use format::FormatArgs;
#[allow(unused_imports)]
pub use init::InitArgs;
#[allow(unused_imports)]
pub use lint::LintArgs;
#[allow(unused_imports)]
pub use logs::{LogSource, LogsArgs};
#[allow(unused_imports)]
pub use models::ModelsCommand;
#[allow(unused_imports)]
pub use node::NodeArgs;
#[allow(unused_imports)]
pub use remote::{RemoteCommand, RemoteLogsArgs, RemoteUpArgs};
#[allow(unused_imports)]
pub use run::{RunCommand, RunTargetArgs};
#[allow(unused_imports)]
pub use setup::SetupArgs;
#[allow(unused_imports)]
pub use topics::TopicsCommand;
#[allow(unused_imports)]
pub use topology::TopologyArgs;
#[allow(unused_imports)]
pub use upload::UploadArgs;

// Note: Old topics::cmd_topics has been removed.
// Use handlers/topics.rs handlers instead.