title | titleSuffix | description | ms.topic | ms.subservice | ms.custom | ms.manager | ms.author | author | monikerRange | ms.date |
---|---|---|---|---|---|---|---|---|---|---|
Index to Azure DevOps CLI examples |
Azure DevOps |
Find examples that showcase use of Azure DevOps CLI. |
conceptual |
azure-devops-reference |
devx-track-azurecli |
mijacobs |
chcomley |
chcomley |
azure-devops |
11/08/2022 |
[!INCLUDE version-eq-azure-devops]
Use this index to quickly access examples that showcase use of the Azure DevOps Command Line Interface (CLI).
To start using Azure DevOps CLI, see Get started with Azure DevOps CLI.
Note
The Azure DevOps Command Line Interface (CLI) is only available for use with Azure DevOps Services. The Azure DevOps extension for the Azure CLI does not support any version of Azure DevOps Server.
- Universal Packages - download specific files
- Create a feed
- Download a universal package
- Publish a universal package
:::row:::
:::column span="1":::
#### Area and Iteration Paths
- Add a project area path
- Add a project iteration
- Delete or update a project iteration path
- List project area paths
- List project iteration paths
- List team areas paths
- List team iteration paths
- Remove area path from a team
- Rename or move a project area path
- Set team area paths
- Set team iteration paths
:::column-end:::
:::column span="1":::
#### Queries
- Run work item query
- Permanently delete work items
#### Work items
- Add work items
- Add or remove work item links
- Delete work items
- List supported link types
- Move work items
- Show work item details
- Show work item link details
- Update work items
:::column-end:::
:::row-end:::
:::row::: :::column span="1"::: #### Banners - Add a new banner - List banners - Remove a banner - Show banner details - Update a banner #### Extensions - Install an extension - List extensions - List extension information - Search for extension in the Marketplace - Uninstall/disable an extension #### Manage wikis - Create a wiki - Create a wiki from a repo - Delete a wiki - List wikis - Publish a repo as a wiki - View wiki details #### Projects - Create a project - Delete a project - List projects - Show project information - Open project in web portal :::column-end::: :::column span="1"::: #### Teams - Add a team - Delete a team - List team members - List teams - Show team details - Update a team #### User accounts - Add a user - List users - Remove a user - Update a user - Show users #### Wiki pages - Add a wiki page - Delete a wiki page - Edit a wiki page - Open a wiki - View a wiki page :::column-end::: :::row-end:::
:::row::: :::column span="1"::: #### Add and run a pipeline - Create a pipeline - Run a pipeline - Show the details of a pipeline - Update a pipeline
#### Agents, agent pools, agent queues
- [List agents](../pipelines/agents/agents.md#list-agents)
- [List agent pools](../pipelines/agents/pools-queues.md#list-agent-pools)
- [List agent queues](../pipelines/agents/pools-queues.md#list-agent-queues)
- [Show agent details](../pipelines/agents/agents.md#show-agent-details)
- [Show agent pool details](../pipelines/agents/pools-queues.md#show-agent-pool-details)
- [Show agent queue details](../pipelines/agents/pools-queues.md#show-agent-queue-details)
#### Artifacts
- [Download your artifact](../pipelines/artifacts/pipeline-artifacts.md#download-artifacts)
- [Publish an artifact to your pipeline](../pipelines/artifacts/pipeline-artifacts.md)
:::column-end::: :::column span="1"::: #### Runs - Add tag to pipeline run - Delete tag from pipeline run - List pipeline runs - List pipeline run tags - Show pipeline run details
#### Variables
- [Create a variable](../pipelines/process/variables.md#create-variable)
- [Delete a variable](../pipelines/process/variables.md#delete-variable)
- [List variables](../pipelines/process/variables.md#list-variables)
- [Update a variable](../pipelines/process/variables.md#update-variable)
#### Variable groups
- [Add variables to a variable group](../pipelines/library/variable-groups.md#add-variables-to-a-variable-group)
- [Create a variable group](../pipelines/library/variable-groups.md#create-a-variable-group)
- [Delete a variable group](../pipelines/library/variable-groups.md#delete-a-variable-group)
- [Delete variables from a variable group](../pipelines/library/variable-groups.md#delete-variables-from-a-variable-group)
- [List variable groups](../pipelines/library/variable-groups.md#list-variable-groups)
- [List variables in a variable group](../pipelines/library/variable-groups.md#list-variables-in-a-variable-group)
- [Show details for a variable group](../pipelines/library/variable-groups.md#show-details-for-a-variable-group)
- [Update a variable group](../pipelines/library/variable-groups.md#update-a-variable-group)
- [Update variables in a variable group](../pipelines/library/variable-groups.md#update-variables-in-a-variable-group)
:::column-end::: :::row-end:::
:::row:::
:::column span="1":::
#### Create and manage Git repositories
- Create a repository
- Delete a repository
- Import a repository
- List repositories
- Rename a repository
- Show repository details
- Update a repository
#### Manage repository policies
- List repository policies
- Show repository policies
- Manage case enforcement policy
- Manage file size policy
- Update repository policy
#### Manage branch policies
- List branch policies
- Show branch policy
- Create policies using a configuration file
- Update policies using a configuration file
- Manage required reviewer policy
- Manage external required reviewer policies
- Manage build validation policies
- Manage comment-required policy
- Manage merge strategy policy
- Create work item linking policy
- Update work item linking policy
:::column-end:::
:::column span="1":::
#### Pull requests
- Create a pull request
- Create a draft pull request
- Edit a pull request, add details
- Add reviewers to a pull request
- Link work items to a pull request
- List pull requests
- Define a custom pull request view
- Show pull request details
- Set vote on a pull request
- Reset vote on a pull request
- Complete or update a pull request
- Set pull request completion options
- Set pull request to autocomplete
- Abandon a pull request
- Manage pull request policies
- Manage pull request reviewers
#### Import and manage references
- Create a reference
- Delete a reference
- List references
- Lock a reference
- Unlock a reference
:::column-end:::
:::row-end:::
- Add a member to a security group
- Assign allow or deny permission to specified user or group
- Clear all permissions of this token for a user or group
- Create a security group
- Delete a security group
- List tokens for specified user or group and namespace
- List all available namespaces for an organization
- List security groups
- List the memberships for a group or user
- Remove a member from a security group
- Reset permission for specified permission bit(s)
- Show details of a security group
- Show details of permissions available in each namespace
- Show permissions for specified token, namespace and user or group
- Update a security group