This commit is contained in:
Atul Bagga 2020-01-22 14:44:36 +05:30
Родитель 42b4db1fe3
Коммит 4a1aca29d5
3 изменённых файлов: 12 добавлений и 6 удалений

Просмотреть файл

@ -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'))

Просмотреть файл

@ -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')

Просмотреть файл

@ -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:
"""