Skip to main content

aether_cli/agent/
mod.rs

1mod list;
2mod new;
3pub mod new_agent_wizard;
4mod remove;
5
6use std::path::PathBuf;
7
8#[derive(clap::Subcommand)]
9pub enum AgentCommand {
10    /// Create a new agent
11    New(NewArgs),
12    /// List all agents in the project
13    List(ListArgs),
14    /// Remove an agent from the project
15    Remove(RemoveArgs),
16}
17
18#[derive(clap::Args)]
19pub struct NewArgs {
20    /// Directory to initialize (defaults to current directory)
21    #[arg(default_value = ".")]
22    pub path: PathBuf,
23}
24
25#[derive(clap::Args)]
26pub struct ListArgs {
27    /// Project directory (defaults to current directory)
28    #[arg(default_value = ".")]
29    pub path: PathBuf,
30}
31
32#[derive(clap::Args)]
33pub struct RemoveArgs {
34    /// Name of the agent to remove
35    pub name: String,
36    /// Project directory (defaults to current directory)
37    #[arg(default_value = ".")]
38    pub path: PathBuf,
39}
40
41pub use list::run_list;
42pub use new::run_new;
43pub use new_agent_wizard::{NewAgentOutcome, should_run_onboarding};
44pub use remove::run_remove;