mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-31 16:49:34 +00:00
feat(cli): add ironclaw channels list subcommand (#933)
This commit is contained in:
@@ -8,9 +8,11 @@
|
||||
//! - Managing MCP servers (`mcp add`, `mcp auth`, `mcp list`, `mcp test`)
|
||||
//! - Querying workspace memory (`memory search`, `memory read`, `memory write`)
|
||||
//! - Managing OS service (`service install`, `service start`, `service stop`)
|
||||
//! - Listing configured channels (`channels list`)
|
||||
//! - Active health diagnostics (`doctor`)
|
||||
//! - Checking system health (`status`)
|
||||
|
||||
mod channels;
|
||||
mod completion;
|
||||
mod config;
|
||||
mod doctor;
|
||||
@@ -26,6 +28,7 @@ mod skills;
|
||||
pub mod status;
|
||||
mod tool;
|
||||
|
||||
pub use channels::{ChannelsCommand, run_channels_command};
|
||||
pub use completion::Completion;
|
||||
pub use config::{ConfigCommand, run_config_command};
|
||||
pub use doctor::run_doctor_command;
|
||||
@@ -136,6 +139,14 @@ pub enum Command {
|
||||
)]
|
||||
Registry(RegistryCommand),
|
||||
|
||||
/// List and inspect messaging channels
|
||||
#[command(
|
||||
subcommand,
|
||||
about = "Manage channels",
|
||||
long_about = "List configured messaging channels.\nExamples:\n ironclaw channels list\n ironclaw channels list --verbose\n ironclaw channels list --json"
|
||||
)]
|
||||
Channels(ChannelsCommand),
|
||||
|
||||
/// Manage MCP servers (hosted tool providers)
|
||||
#[command(
|
||||
subcommand,
|
||||
|
||||
Reference in New Issue
Block a user