use std::path::PathBuf;
use clap::{Parser, Subcommand};
#[derive(Parser, Debug)]
#[command(name = "ane", version, about = "Agent Native Editor")]
pub struct Cli {
#[command(subcommand)]
pub command: Option<Command>,
#[arg(default_value = ".")]
pub path: PathBuf,
}
#[derive(Subcommand, Debug)]
pub enum Command {
Exec {
#[arg(short, long)]
chord: String,
#[arg()]
path: PathBuf,
},
Init {
#[arg()]
agent: String,
},
}
pub fn parse() -> Cli {
Cli::parse()
}