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