Replies: 1 comment
-
Yes, subclass and override with the same name. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to add an option to an existing command instead of registering a new command?
For example I would like to add a
--full
option to thelist
command, that would be mutually exclusive with--graph
and--freeze
. But I worry the mutually exclusive group will be difficult to reach to add arguments to it.Maybe I can simply inherit from the command, and register in using the same name as to override it?
But then two plugins adding options to the same command would override each other (only one would win, the other would be discarded).
Beta Was this translation helpful? Give feedback.
All reactions