Azure DevOps Extension for Azure CLI
Перейти к файлу
Atul Bagga 55b87ec552 Merged PR 27: Removing vscode settings from the repo
Removing the checked in file and adding it to gitignore
2018-10-08 12:44:00 +00:00
azure-dev-cli-extensions Merged PR 24: Handle git import output table format handling and help fixes 2018-10-08 05:39:16 +00:00
doc Merged PR 11: update test author guide 2018-09-28 04:49:07 +00:00
scripts Merged PR 26: Adding boards - work item tests 2018-10-08 10:06:29 +00:00
tests Merged PR 26: Adding boards - work item tests 2018-10-08 10:06:29 +00:00
.dockerignore More updates to support Linux 2017-11-08 22:05:26 -05:00
.gitattributes Update git attributes to allow install scripts to be in LF 2017-11-09 10:25:19 -05:00
.gitignore Merged PR 27: Removing vscode settings from the repo 2018-10-08 12:44:00 +00:00
Dockerfile Add UPack commands 2018-07-31 16:39:11 -07:00
LICENSE Initial commit 2017-10-20 10:39:14 -07:00
README.md moving VSTS CLI to Az Dev CLI extension 2018-09-27 14:23:55 +05:30
requirements.txt Merged PR 16: Adding dev setup file 2018-10-04 06:00:05 +00:00

README.md

Windows: Build Status

Mac: Build Status

Ubuntu: Build Status

Python

Azure Devops

Azure Devops CLI is a new command line interface for Azure Devops Service

Azure Devops CLI is currently in preview but we encourage you to give it a try and provide feedback (or contribute).

Get started

Refer to the install guide for detailed install instructions for Windows, Mac, and Linux.

Also refer to the "get started" guide for in-depth instructions including first-time setup steps.

For help, pass the -h or --help argument, for example:

az dev -h
az dev code -h

Commands

Use the Azure Devops CLI to work with and manage build, code repositories, projects, work items, and more in your Azure Devops account or on-premises Team Foundation Server collection.

Here are just a few of the commands:

  • az dev build queue
  • az dev code pr list
  • az dev code pr complete
  • az dev code pr reviewers add
  • az dev code pr work-items list
  • az dev project create
  • az dev work item create
  • az dev work item update

See the full list of available commands.

Login (setup credentials)

Create a personal access token and provide to the Azure Devops CLI via the login command:

az dev login --instance https://MYACCOUNT.visualstudio.com --token MYTOKEN

Using Azure Devops CLI Behind a Proxy

The Azure Devops CLI picks the network proxy configuration from the environment variables HTTP_PROXY, and HTTPS_PROXY.

Configure defaults, Git aliases, and more

You can change your default settings using the az dev configure command, for example you can set the default output format for all commands. The options are:

  • JSON
  • JSON (with color highlighting)
  • Table (human-readable tabular output)
  • TSV (tab and new line delimited)

You can also add aliases in Git for certain Azure Devops CLI commands. For example, git pr list will be an alias for az dev code pr list.

Querying and filtering output

You can use the --query parameter and the JMESPath query syntax to customize your output, for example:

Result
-------------------------------------------------------------
[Demos]\CLI Team
[Demos]\Demo Team
Fabrikam Fiber

Examples and snippets

For more usage examples, see the official Azure Devops CLI documentation.

Developer setup

To contribute or to just play with the CLI in your development environment, see developer setup

License

Azure Devops CLI

MIT License

    Copyright (c) Microsoft Corporation. All rights reserved.

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE

Telemetry

Azure Devops CLI collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more.

To disable telemetry use the az dev configure command.

Feedback

If you have any issues, questions, comments, or feature requests regarding this tool, please file an issue within this github repo using our contribution guidelines.

To find where to provide feedback from the CLI, run az dev feedback.

Contribute

This project has adopted the Microsoft Open Source Code of Conduct.

For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

This project follows the same contribution guidelines outlined by the Azure CLI. If you would like to become an active contributor, please follow the instructions provided in Microsoft Azure Projects Contribution Guidelines.