-
Notifications
You must be signed in to change notification settings - Fork 75
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
Have a positional argument as optional with main command #184
Comments
Apologies, I believe this is quite similar to #85 please let me know if you would like me to close and track the other one if it will fix both. Thanks |
@UnoSD I feel this one would best be closed - until there's a clear approach/workaround for #85, there's no point having speculative ideas that are not realistically going to be implemented in the short to medium term (and re tuples, I can't see good ways to associate help messages with them etc) Thoughts? |
related: #107 |
@bartelink I am currently on leave, but I'm happy to have a think when I am back. Closing the issue in the meantime as suggested. |
Description
Can you please consider allowing the following:
program subcommand arg1
and
program subcommand arg1 arg2
Repro steps
This does not allow multiple MainCommand, but if removed they will need a prefix and won't work just as positional
Expected behavior
Allow multiple positional arguments
Actual behavior
Not allowed
Known workarounds
None
Related information
Linux
Latest NuGet
.NET 7
The text was updated successfully, but these errors were encountered: