Expand description
CLI commands module
This module contains refactored CLI command implementations that use core business logic. These are thin wrappers that handle:
- Argument parsing (clap)
- Input validation
- Output formatting
- Error display
§Available Commands (New Architecture - Phase 1)
§Topic Commands
TopicClusterSubCommand- Get cluster list for a topicDeleteTopicCommand- Delete a topic from cluster/brokerTopicRouteCommand- Query topic route informationUpdateTopicCommand- Create or update topic configuration
§NameServer Commands
GetNamesrvConfigCommand- Get NameServer configurationUpdateNamesrvConfigCommand- Update NameServer configuration
Re-exports§
pub use self::add_write_perm_command::AddWritePermCommand;pub use self::allocate_mq_command::AllocateMqCommand;pub use self::delete_kv_config_command::DeleteKvConfigCommand;pub use self::delete_topic_command::DeleteTopicCommand;pub use self::get_namesrv_config_command::GetNamesrvConfigCommand;pub use self::switch_timer_engine_command::SwitchTimerEngineCommand;pub use self::topic_cluster_command::TopicClusterSubCommand;pub use self::topic_list_command::TopicListCommand;pub use self::topic_route_command::TopicRouteCommand;pub use self::topic_status_command::TopicStatusCommand;pub use self::update_kv_config_command::UpdateKvConfigCommand;pub use self::update_namesrv_config_command::UpdateNamesrvConfigCommand;pub use self::update_order_conf_command::UpdateOrderConfCommand;pub use self::update_topic_command::UpdateTopicCommand;pub use self::update_topic_perm_command::UpdateTopicPermCommand;pub use self::wipe_write_perm_command::WipeWritePermCommand;
Modules§
- add_
write_ perm_ command - allocate_
mq_ command - delete_
kv_ config_ command - delete_
topic_ command - Delete topic command - CLI layer
- get_
namesrv_ config_ command - Get NameServer configuration command
- switch_
timer_ engine_ command - topic_
cluster_ command - Topic cluster list command - CLI layer
- topic_
list_ command - topic_
route_ command - Topic route command - CLI layer
- topic_
status_ command - update_
kv_ config_ command - update_
namesrv_ config_ command - Update NameServer configuration command
- update_
order_ conf_ command - update_
topic_ command - Update/create topic command
- update_
topic_ perm_ command - wipe_
write_ perm_ command