Expand description
§argst
argst
is a simple one-macro library to hide some boilerplate when using StructOpt. See the actual args
macro.
§Example
use argst::args;
args!(
/// The number of times to perform this operation
#[structopt(long = "count")]
n: usize,
/// The path to the data file
path: std::path::PathBuf,
);
println!("Running {} times over data at {}", n, path.display());