14 lines
230 B
Rust
14 lines
230 B
Rust
use clap::Parser;
|
|
|
|
#[derive(Parser, Debug)]
|
|
#[clap(version)]
|
|
struct Args {
|
|
#[clap(short, long, help = "Video to convert")]
|
|
video: Option<PathBuf>,
|
|
}
|
|
|
|
fn main() {
|
|
let args = Args::parse();
|
|
println!("{:?}", args);
|
|
}
|