go-clap
go-clap copied to clipboard
Reddit improvement proposal - CSV slices
Do you have any thoughts on allowing CSV slices?
e.g --my-args one,two,three,four,"five has a space",six
Alternatively, flag repetition to allow slice args?
e.g --my-args one --my-args two ... --my-args "five has a space"
The reason I ask is knowing the argument count for non-trailing as is specified in the example [4]string seems odd.