Iterate through positional arguments with clap

Viewed 4445

Say I have the following command line:

./app foo bar baz

I want to get this array out of it:

["foo", "bar", "baz"]

Is there a way to do this in clap, given that the positional arguments can be of arbitrary count?

1 Answers
Related