mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
12 lines
148 B
Rust
12 lines
148 B
Rust
|
use clap::Clap;
|
||
|
|
||
|
#[derive(Clap, Debug)]
|
||
|
struct Opt {
|
||
|
#[clap(external_subcommand)]
|
||
|
field: String,
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
let _ = Opt::parse();
|
||
|
}
|