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