diff --git a/deploy-aks/azext_aks_deploy/dev/functionapp/arguments.py b/deploy-aks/azext_aks_deploy/dev/functionapp/arguments.py index 295a0df..d3a6f21 100644 --- a/deploy-aks/azext_aks_deploy/dev/functionapp/arguments.py +++ b/deploy-aks/azext_aks_deploy/dev/functionapp/arguments.py @@ -5,5 +5,5 @@ def load_functionapp_arguments(self, _): - with self.argument_context('functionapp app-up') as context: + with self.argument_context('functionapp app up') as context: context.argument('repository', options_list=('--repository', '-r')) diff --git a/deploy-aks/azext_aks_deploy/dev/functionapp/commands.py b/deploy-aks/azext_aks_deploy/dev/functionapp/commands.py index 07bfa8e..ecb246b 100644 --- a/deploy-aks/azext_aks_deploy/dev/functionapp/commands.py +++ b/deploy-aks/azext_aks_deploy/dev/functionapp/commands.py @@ -11,5 +11,5 @@ functionappops = CliCommandType( def load_functionapp_commands(self, _): - with self.command_group('functionapp', command_type=functionappops) as g: - g.command('app-up', 'functionapp_deploy') + with self.command_group('functionapp app', command_type=functionappops) as g: + g.command('up', 'functionapp_deploy') diff --git a/deploy-aks/azext_aks_deploy/dev/functionapp/help.py b/deploy-aks/azext_aks_deploy/dev/functionapp/help.py index e90ceb7..4648bf1 100644 --- a/deploy-aks/azext_aks_deploy/dev/functionapp/help.py +++ b/deploy-aks/azext_aks_deploy/dev/functionapp/help.py @@ -7,8 +7,14 @@ from knack.help_files import helps def load_functionapp_help(): - helps['functionapp app-up'] = """ - type: command - short-summary: Deploy to Functionapp via GitHub actions. + helps['functionapp app'] = """ + type: group + short-summary: Commands to manage Azure Functions app. + long-summary: + """ + + helps['functionapp app up'] = """ + type: command + short-summary: Deploy to Azure Functions via GitHub actions. long-summary: """