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