use clap::Parser; #[derive(Parser)] #[command(name="gh-grader-preview", author, version, about, long_about = None)] pub struct Cli { #[arg( short = 'f', long = "file", help = "Override the autograder.json file to use, by default we look in `.github/classroom/autograder.json`" )] pub file: Option, #[arg( short = 'v', long = "verbose", help = "Show stdout and stderr of tests" )] pub verbose: bool, #[arg( short = 't', long = "test", help = "Run only the test specified (must match `name` case-insensitively)" )] pub test: Option, #[arg( short = 'x', long = "skip", help = "Skip the first X tests, useful if you have tests that are purely informational" )] pub skip: Option, #[arg( long = "man-page", help = "Print the manpage for this command to stdout" )] pub man_gen: bool, #[arg( long = "completions", help = "Prints out the completions for the shell specified" )] pub completions: Option, }