-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase the number of verbs supported #914
Comments
I just searched for this topic at Stackoverflow and unlimited / dynamic number is not possible. But I would like to have more than 16 parameters, too. 32 would be really nice. |
This is already possible. I stumpled upon this while trying to use dependency injection with commandlineparser. I dont think that there is a real limit on the number of verbs by doing it this way:
|
The way we managed to get arround the limitation was to get the parserResult.Value as a specific type. This worked because all of our verbs are inherit from the same baseclass.
|
Would it be a possible to remove the limit on the number of verbs supported?
Currently the limit is 16.
Ideal would be no limit if that's not possible due to the implementation 32 would be great.
In:
ParserExtensions
.ParseArguments<>
ParserResultExtensions
.MapResult()
The text was updated successfully, but these errors were encountered: