Skip to content

Commit

Permalink
Supress extension
Browse files Browse the repository at this point in the history
  • Loading branch information
rajshah11 committed May 31, 2018
1 parent 4266a02 commit 698c379
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ class ResourceCommandsLoader(AzCommandsLoader):

def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
from azure.cli.core import ModExtensionSuppress
resource_custom = CliCommandType(operations_tmpl='azure.cli.command_modules.resource.custom#{}')
super(ResourceCommandsLoader, self).__init__(cli_ctx=cli_ctx,
custom_command_type=resource_custom)
custom_command_type=resource_custom,
suppress_extension=ModExtensionSuppress(
__name__, 'managementgroups', '0.1.0',
reason='The management groups commands are now in CLI.',
recommend_remove=True))

def load_command_table(self, args):
from azure.cli.command_modules.resource.commands import load_command_table
Expand Down

0 comments on commit 698c379

Please sign in to comment.