You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
The text was updated successfully, but these errors were encountered:
In this line, we're trying to get value from clap with method
value_of
, but flags likeverbose
would returnNone
since it's not a string value.The text was updated successfully, but these errors were encountered: