On the command line
prog -arg1 11 22 33
works and arg1 = [11,22,33],
dbg!(arg1):
arg1: Some(
[
11,
22,
33
],
trying to set a default value like [66,77]...
Basic arg
#[arg(long, required=false, num_args = 0..7)]
pub(crate) arg1: Option<Vec<u32>>,
add:
default_values = [28,29])]
^^^^^^^^^^^^^^ the trait From<{integer}>
is not implemented for clap::builder::OsStr
add:
default_values_t = [28,29])]
^^^^^^^^^^^^^^^ error: #[arg(default_values_t)] can be used only on Vec types