use clap::{Arg, ArgAction, Command};
pub fn command() -> Command {
Command::new("new")
.hide(true)
.about("Create a new Cargo-AI project directory")
.arg(
Arg::new("path")
.help("Directory path for the new project")
.required(true),
)
.arg(
Arg::new("template")
.long("template")
.help("Starter template overlay to apply")
.value_name("TEMPLATE")
.value_parser(["codex", "claude"])
.num_args(1),
)
.arg(
Arg::new("vcs")
.long("vcs")
.help("Version control setup to initialize")
.value_name("VCS")
.value_parser(["git", "none"])
.default_value("git")
.num_args(1),
)
.arg(
Arg::new("experimental")
.long("experimental")
.help("Internal: enable hidden scaffold commands")
.hide(true)
.action(ArgAction::SetTrue),
)
}