vx_cli/commands/
list.rs

1//! List command implementation
2
3use crate::ui::UI;
4use anyhow::Result;
5use vx_plugin::PluginRegistry;
6
7pub async fn handle(
8    _registry: &PluginRegistry,
9    tool: Option<&str>,
10    show_status: bool,
11) -> Result<()> {
12    UI::warning("List command not yet fully implemented in new architecture");
13
14    match tool {
15        Some(tool_name) => {
16            UI::hint(&format!(
17                "Would list versions for tool: {} (show_status: {})",
18                tool_name, show_status
19            ));
20        }
21        None => {
22            UI::hint(&format!(
23                "Would list all tools (show_status: {})",
24                show_status
25            ));
26        }
27    }
28    Ok(())
29}