-
Notifications
You must be signed in to change notification settings - Fork 292
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
Support for default verb? #494
Comments
Furthermore, is it possible to have global options while still having a verb? |
This is a duplicate of #490. Unfortunately, no it isn't possible. With the way verbs work in the current version (e.g. |
Thanks for the quick reply, @nemec. What about a simple Update: Actually, quite a nice solution that already works is simply inheriting from a |
I'm currently trying to come up with a workaround for this, but I can't get the |
Update: it seems I have to specify at least two options types to |
You're right - it is not obvious that one generic argument is interpreted as an Options class but multiple are considered Verbs. |
Just to clarify, is there a workaround by using GlobalOptions? |
Is there any support for some sort of "default" verb? That is, a verb that gets executed when no verb is actually specified. Perhaps an existing verb can be marked as default, even?
The text was updated successfully, but these errors were encountered: