summaryrefslogtreecommitdiff
path: root/src/bin/jvii.rs
blob: e7a20bb1fe104115fc9fba1262bb7fb772a68d8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#[derive(Parser, Debug)]
#[command(
    disable_help_flag = true,
    disable_version_flag = true,
    disable_help_subcommand = true,
    help_template = "{all-args}"
)]

struct JustEnoughVcsInputer {
    #[command(subcommand)]
    command: JustEnoughVcsInputerCommand,
}

#[derive(Subcommand, Debug)]
enum JustEnoughVcsInputerCommand {
    /// Version information
    #[command(alias = "--version", alias = "-v")]
    Version(VersionArgs),
}