actr_cli/commands/
mod.rs

1//! Command implementations for actr-cli
2
3pub mod check;
4// TODO: config command needs rewrite for new Config API
5// pub mod config;
6pub mod codegen;
7pub mod discovery;
8pub mod doc;
9pub mod fingerprint;
10pub mod generate;
11pub mod init;
12pub mod initialize;
13pub mod install;
14pub mod run;
15
16use crate::error::Result;
17use async_trait::async_trait;
18use clap::ValueEnum;
19
20// Legacy command trait for backward compatibility
21#[async_trait]
22pub trait Command {
23    async fn execute(&self) -> Result<()>;
24}
25
26/// Supported languages for CLI commands.
27#[derive(Debug, Clone, Copy, PartialEq, Eq, ValueEnum, serde::Serialize, serde::Deserialize)]
28pub enum SupportedLanguage {
29    Rust,
30    Python,
31    Swift,
32    Kotlin,
33}
34
35// Re-export new architecture commands
36pub use discovery::DiscoveryCommand;
37pub use generate::GenCommand;
38pub use init::InitCommand;
39pub use install::InstallCommand;