today/src/main.rs
2021-11-17 21:55:40 +01:00

16 lines
245 B
Rust

use std::path::PathBuf;
use structopt::StructOpt;
mod commands;
#[derive(Debug, StructOpt)]
pub struct Opt {
#[structopt(parse(from_os_str))]
file: PathBuf,
}
fn main() {
let opt = Opt::from_args();
println!("{:#?}", opt);
}