-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
In this line, we're trying to get value from clap with method value_of, but flags like verbose would return None since it's not a string value.
let matches = clap::App::new("nabu")
.arg(
clap::Arg::with_name("verbose")
.long("verbose")
.help("Sets the level of verbosity"),
)
.get_matches();
viperus::load_clap(matches).unwrap();
assert_eq!(viperus::get::<bool>("verbose"), None);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels