mirror of
https://github.com/clap-rs/clap
synced 2024-12-16 15:52:44 +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();
|
||
|
}
|