hff 0.6.3

Hierarchical File Format
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use clap::Parser;
use clap_verbosity_flag::{InfoLevel, Verbosity};

use super::Commands;

/// Command line options.
#[derive(Parser, Debug)]
#[command(author, version, about, long_about=None)]
pub struct Args {
    /// Verbosity level.
    #[command(flatten)]
    pub verbose: Verbosity<InfoLevel>,

    /// Subcommand.
    #[command(subcommand)]
    pub command: Commands,
}