项目作者: Azure

项目描述 :
Azure DevOps Extension for Azure CLI
高级语言: Python
项目地址: git://github.com/Azure/azure-devops-cli-extension.git
创建时间: 2017-10-20T17:39:11Z
项目社区:https://github.com/Azure/azure-devops-cli-extension

开源协议:MIT License

下载


Azure DevOps Extension for Azure CLI

Build Status

The Azure DevOps Extension for Azure CLI adds Pipelines, Boards, Repos, Artifacts and DevOps commands to the Azure CLI 2.0.

The Azure CLI with the Azure DevOps Extension has replaced the VSTS CLI. The VSTS CLI has been deprecated and will no longer be receiving new features. We recommend that users of the VSTS CLI switch to the Azure CLI and add the Azure DevOps extension. See the Command Mapping section to view the mapping between VSTS CLI and Azure DevOps Extension commands.

Quick start

  1. Install the Azure CLI. You must have at least v2.0.69, which you can verify with az --version command.

  2. Add the Azure DevOps Extension az extension add --name azure-devops

  3. Run the az login command.

    If the CLI can open your default browser, it will do so and load a sign-in page. Otherwise, you need to open a
    browser page and follow the instructions on the command line to enter an authorization code after navigating to
    https://aka.ms/devicelogin in your browser. For more information, see the
    Azure CLI login page.

See the Get started guide for detailed setup instructions.

Usage

  1. $az [group] [subgroup] [command] {parameters}

Adding the Azure DevOps Extension adds devops, pipelines, artifacts, boards and repos groups.
For usage and help content for any command, pass in the -h parameter, for example:

  1. $ az devops -h
  2. Group
  3. az devops : Manage Azure DevOps organization level operations.
  4. Related Groups
  5. az pipelines: Manage Azure Pipelines
  6. az boards: Manage Azure Boards
  7. az repos: Manage Azure Repos
  8. az artifacts: Manage Azure Artifacts.
  9. Subgroups:
  10. admin : Manage administration operations.
  11. extension : Manage extensions.
  12. project : Manage team projects.
  13. security : Manage security related operations.
  14. service-endpoint : Manage service endpoints/service connections.
  15. team : Manage teams.
  16. user : Manage users.
  17. wiki : Manage wikis.
  18. Commands:
  19. configure : Configure the Azure DevOps CLI or view your configuration.
  20. feedback : Displays information on how to provide feedback to the Azure DevOps CLI team.
  21. invoke : This command will invoke request for any DevOps area and resource. Please use
  22. only json output as the response of this command is not fixed. Helpful docs -
  23. https://docs.microsoft.com/en-us/rest/api/azure/devops/.
  24. login : Set the credential (PAT) to use for a particular organization.
  25. logout : Clear the credential for all or a particular organization.

Contribute

See our contribution guidelines to learn how you can contribute to this project.

TLDR of contribution guidelines

Questions : Stack Overflow

Bug reports : Developer Community

New Feature request : Azure DevOps repo

License

MIT License