Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure-devops/azext_devops/dev/migration/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def load_migration_help():
helps['devops migrations'] = """
type: group
short-summary: Manage enterprise live migrations.
long-summary: 'This command group is a part of the azure-devops extension and is in preview. Availability may be limited (for example, to 1P/allowlisted users). For ELM migrations, --org should be your Azure DevOps organization URL (for example: https://dev.azure.com/myorg).'
long-summary: 'This command group is a part of the azure-devops extension and is in preview. Availability may be limited (for example, to 1P/allowlisted users). For ELM migrations, --org should be your Azure DevOps organization URL (for example: `https://dev.azure.com/myorg`).'
"""

helps['devops migrations list'] = """
Expand Down
12 changes: 7 additions & 5 deletions azure-devops/azext_devops/dev/migration/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def load_migration_arguments(self, _):

with self.argument_context('devops migrations pipelines') as context:
context.argument('repository_mapping', options_list='--repository-mapping', action='append',
help='Repository mapping in the format <sourceRepoId>=<targetOwner>/<targetRepo>. '
help='Repository mapping in the format `<sourceRepoId>=<targetOwner>/<targetRepo>`. '
'Can be provided multiple times.')

with self.argument_context('devops migrations pipelines submit') as context:
Expand Down Expand Up @@ -65,7 +65,7 @@ def load_migration_arguments(self, _):

with self.argument_context('devops migrations create') as context:
context.argument('target_repository', options_list='--target-repository',
help='Target repository URL (must start with http:// or https://).')
help='Target repository URL (must start with `http://` or `https://`).')
context.argument('target_owner_user_id', options_list='--target-owner-user-id',
help='Target repository owner user ID. Deprecated and ignored when server-side '
'token-based owner resolution is enabled.')
Expand Down Expand Up @@ -97,13 +97,15 @@ def load_migration_arguments(self, _):
'verification: --github-token / ELM_GITHUB_TOKEN can be supplied '
'alongside this flag. Device flow is skipped when this flag is set.')
context.argument('enable_boards_github_connection',
options_list='--enable-boards-github-connection', action='store_true',
options_list=['--enable-boards-github-connection', '--enable-boards-gh'],
action='store_true',
help='Opt in to provisioning the Azure Boards GitHub connection at '
'cutover. Off by default. Requires the Azure Boards GitHub App '
'to be installed on the target GitHub Enterprise organization '
'before the migration runs.')
context.argument('enable_auto_discover_pipelines',
options_list='--enable-auto-discover-pipelines', action='store_true',
options_list=['--enable-auto-discover-pipelines', '--auto-discover'],
action='store_true',
help='Opt in to automatic pipeline discovery at cutover. Off by default. '
'When enabled, the ELM sync job walks the source repository and '
'creates clone definitions for every pipeline that references it. '
Expand All @@ -112,7 +114,7 @@ def load_migration_arguments(self, _):
'Pipeline rewiring itself is always available via '
'az devops migrations pipelines submit / update.')
context.argument('pipeline_service_connection_id',
options_list='--pipeline-service-connection-id',
options_list=['--pipeline-service-connection-id', '--pipeline-sc-id'],
help='Project-scoped GitHub service connection ID (GUID) attached at '
'create time for pipeline rewiring. Required for full auto-discovery '
'when combined with --enable-auto-discover-pipelines; optional in '
Expand Down
Loading