2023-03-20 12:12:29 +00:00
|
|
|
# az devops
|
|
|
|
|
|
|
|
> Manage Azure DevOps organizations.
|
2023-10-15 08:42:29 +01:00
|
|
|
> Part of `azure-cli` (also known as `az`).
|
|
|
|
> More information: <https://learn.microsoft.com/cli/azure/devops>.
|
2023-03-20 12:12:29 +00:00
|
|
|
|
|
|
|
- Set the Personal Access Token (PAT) to login to a particular organization:
|
|
|
|
|
|
|
|
`az devops login --organization {{organization_url}}`
|
|
|
|
|
|
|
|
- Open a project in the browser:
|
|
|
|
|
|
|
|
`az devops project show --project {{project_name}} --open`
|
|
|
|
|
|
|
|
- List members of a specific team working on a particular project:
|
|
|
|
|
|
|
|
`az devops team list-member --project {{project_name}} --team {{team_name}}`
|
|
|
|
|
|
|
|
- Check the Azure DevOps CLI current configuration:
|
|
|
|
|
|
|
|
`az devops configure --list`
|
|
|
|
|
|
|
|
- Configure the Azure DevOps CLI behavior by setting a default project and a default organization:
|
|
|
|
|
|
|
|
`az devops configure --defaults project={{project_name}} organization={{organization_url}}`
|