summaryrefslogtreecommitdiffstats
path: root/vendor/xflags-macros/tests/it/src/subcommands.rs
blob: 70a0a504996c1dc2f5a810ca5363c6fbc28fd768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
xflags! {
    cmd rust-analyzer {
        repeated -v, --verbose

        cmd server {
            optional --dir path:PathBuf
            default cmd launch {
                optional --log
            }
            cmd watch {
            }
        }

        cmd analysis-stats
            required path: PathBuf
        {
            optional --parallel
        }
    }
}