mark/src/main.rs
2023-07-30 15:54:35 +02:00

26 lines
413 B
Rust

use std::path::PathBuf;
use clap::Parser;
#[derive(Debug, clap::Parser)]
struct BwCmd {}
#[derive(Debug, clap::Parser)]
enum Cmd {
Bw(BwCmd),
}
#[derive(Debug, clap::Parser)]
struct Args {
#[arg(long, short)]
r#in: Option<PathBuf>,
#[arg(long, short)]
out: Option<PathBuf>,
#[command(subcommand)]
cmd: Cmd,
}
fn main() {
let args = Args::parse();
println!("{args:#?}");
}