Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az-devops: add page #9950

Closed
wants to merge 4 commits into from
Closed
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
25 changes: 25 additions & 0 deletions pages/common/az-devops.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# az devops

> Manage Azure DevOps organizations.
> Part of `azure-cli`.
> More information: <https://learn.microsoft.com/en-us/cli/azure/devops?view=azure-cli-latest>.

- Set the Personal Access Token (PAT) to login to a particular organization:

`az devops login --organization {{organization_URL}}`

- Open project in 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}}`