mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +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();
|
|
}
|