CommandLine: Support Collection Parameters #47
Labels
Backlog
issues that are pending availability of the developers
Enhancement
issues that suggest potential improvements
Describe the enhancement
It would be nice if the
CommandLine
supported collection arguments. We can dynamically detect if the generic type on theCommandLine.Argument<T>
is a collection, and if it is handle it differently than singular arguments.Example Command:
myapp.exe ids "1, 2, 3"
Purpose of enhancement
Simplification.
Alternative considerations
Another option is to add a
CommandLine.CollectionArgument<T>
or create a wrapper for the genericCommandLine.Argument<Collection<T>>
that allow configurable parsing techniques.The text was updated successfully, but these errors were encountered: