Is there a way to pass multiple values per parameter using clap?
For instance, if I type this
$ ./app —-color red, green, blue -—height 100 200
or this
$ ./app —-color red —-color green —-color blue —-height 100 —-height 200
I should get this:
color: red, green, blue
height: 100, 200
I’m aware of the multiple(true)
option, but I cannot figure out how to iterate multiple values like in the example above.