[Question] Is it possible to pass an argument more than one time to build a list ?
DomZZ opened this issue · 1 comments
DomZZ commented
I need to send a list and would like to avoid to pass whole list as a string with separators in one argument :
myconsoleapp.exe --tenantList tenant1|tenant2[tenantX
I would prefer to send multiple same argument are receive a list :
myconsoleapp.exe --tenant tenant1 --tenant tenant2 --tenant tenantX
Is it possible to get this ?
Thanks
DomZZ commented
Sorry I find the answer myself :
we need to use :
https://natemcmaster.github.io/CommandLineUtils/v2.2/api/McMaster.Extensions.CommandLineUtils.CommandArgument.html#McMaster_Extensions_CommandLineUtils_CommandArgument_MultipleValues