Skip to content

Instantly share code, notes, and snippets.

@polatengin
Created October 25, 2020 06:11
Show Gist options
  • Save polatengin/762ab742a98e0685493b923093625a94 to your computer and use it in GitHub Desktop.
Save polatengin/762ab742a98e0685493b923093625a94 to your computer and use it in GitHub Desktop.
Azure CLI DevOps Extension
az extension add --name azure-devops
az devops configure --defaults organization=https://dev.azure.com/organizationName project=projectName
az devops --help
Group
az devops : Manage Azure DevOps organization level operations.
Related Groups
az pipelines: Manage Azure Pipelines
az boards: Manage Azure Boards
az repos: Manage Azure Repos
az artifacts: Manage Azure Artifacts.
Subgroups:
admin : Manage administration operations.
extension : Manage extensions.
project : Manage team projects.
security : Manage security related operations.
service-endpoint : Manage service endpoints/service connections.
team : Manage teams.
user : Manage users.
wiki : Manage wikis.
Commands:
configure : Configure the Azure DevOps CLI or view your configuration.
feedback : Displays information on how to provide feedback to the Azure DevOps CLI team.
invoke : This command will invoke request for any DevOps area and resource. Please use
only json output as the response of this command is not fixed. Helpful docs -
https://docs.microsoft.com/rest/api/azure/devops/.
login : Set the credential (PAT) to use for a particular organization.
logout : Clear the credential for all or a particular organization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment