Skip to content

Commit

Permalink
Issue 1698 add examples for az repos import create command (#1321)
Browse files Browse the repository at this point in the history
* Issue 1698 add examples for az repos import create command

Fixes Azure/azure-cli-extensions#1698

* Update _help.py
  • Loading branch information
RakeshMohanMSFT authored Jan 16, 2023
1 parent 9c9d05d commit 311770b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion azure-devops/azext_devops/dev/repos/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ def load_repos_help():
helps['repos import'] = """
type: group
short-summary: Manage Git repositories import
long-summary:
long-summary: This command imports the public repo fabrikam-open-source to the empty Git repo fabrikam-open-source for the default configuration
az devops configure --defaults organization=https://dev.azure.com/fabrikamprime project="Fabrikam Fiber".
examples:
- name: Manage Git repositories import.
text: |
az repos import create --git-source-url https://github.com/fabrikamprime/fabrikam-open-source --repository fabrikam-open-source
"""

helps['repos policy'] = """
Expand Down

0 comments on commit 311770b

Please sign in to comment.