xtask/cli/
devtools_test.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use clap::Args;

#[derive(Args, Debug)]
pub(crate) struct DevtoolsTestArg {
    #[arg(
        long,
        short,
        default_value = "false",
        help = "Accept newly generated macro-snapshots"
    )]
    pub(crate) accept_snapshot: bool,

    #[arg(long, short, help = "Filter tests by name")]
    pub(crate) filter: Option<String>,
}