use clap::Parser;
pub fn parse() -> Cli {
Cli::parse()
}
#[derive(Parser)]
#[command(
author,
version,
about,
max_term_width = 100,
help_template = "\
{before-help}{name} {version}
{author-with-newline}{about-with-newline}
{usage-heading} {usage}
{all-args}{after-help}"
)]
pub struct Cli {
#[arg(required = true)]
pub commands: Vec<String>,
#[arg(short, long)]
pub shell: Option<String>,
#[arg(short = 'l', long, value_delimiter = ',')]
pub highlight: Option<Vec<String>>,
#[arg(short, long)]
pub prefix: Option<String>,
#[arg(short = 'n', long, group = "no_prompt_or_run")]
pub no_run: bool,
#[arg(short = 'N', long, group = "no_prompt_or_run")]
pub no_prompt: bool,
#[arg(short, long)]
pub cwd: bool,
#[arg(short, long)]
pub doc: bool,
}