-
Notifications
You must be signed in to change notification settings - Fork 684
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
Make config
command support abbreviation
#893
Conversation
@@ -15,6 +15,7 @@ | |||
from swsssdk import ConfigDBConnector | |||
from swsssdk import SonicV2Connector | |||
from minigraph import parse_device_desc_xml | |||
from click_default_group import DefaultGroup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it necessary to import click_default_group to accomplish this? We don't use the functionality of DefaultGroup any longer, and I was planning to remove it entirely. Can instead inherit a Click class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DefaultGroup inherits from click.Group
. Can you try simply inheriting this class and see if this works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can merge this as-is and attempt to replace DefaultGroup with click.Group in a separate PR.
@jleveque Please create PR for 201911. There are conflicts. |
Backport #893 to the 201911 branch to support abbreviation of `config` subcommands
Fix #532