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 New(NewArgs),
12 List(ListArgs),
14 Remove(RemoveArgs),
16}
17
18#[derive(clap::Args)]
19pub struct NewArgs {
20 #[arg(default_value = ".")]
22 pub path: PathBuf,
23}
24
25#[derive(clap::Args)]
26pub struct ListArgs {
27 #[arg(default_value = ".")]
29 pub path: PathBuf,
30}
31
32#[derive(clap::Args)]
33pub struct RemoveArgs {
34 pub name: String,
36 #[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;