1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-09-28 13:17:39 +00:00
bobbylisp/blspc/src/args.rs

15 lines
370 B
Rust
Raw Normal View History

2022-01-24 20:08:41 +00:00
use std::path::PathBuf;
use structopt::StructOpt;
#[derive(StructOpt, Debug)]
#[structopt(name = "blspc")]
pub struct Args {
/// Verbose mode (-v, -vv, -vvv, etc.). Max is 2 currently.
#[structopt(short, long, parse(from_occurrences))]
pub verbose: u8,
/// Files to process.
#[structopt(name = "FILE", parse(from_os_str))]
pub file: PathBuf,
}