github_actions_autodocs/
cli.rs

1use clap::Parser;
2
3#[derive(Parser, Debug, Clone)]
4#[command(author, version, about, long_about = None)]
5pub struct Args {
6    /// Source path
7    #[arg(short, long, default_value = "action.yml")]
8    pub file: String,
9
10    /// Dry run
11    #[arg(long, default_value = "false")]
12    pub dry: bool,
13
14    /// Output filepath
15    #[arg(short, long)]
16    pub output: Option<String>,
17}