55b87ec552
Removing the checked in file and adding it to gitignore |
||
---|---|---|
azure-dev-cli-extensions | ||
doc | ||
scripts | ||
tests | ||
.dockerignore | ||
.gitattributes | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
requirements.txt |
README.md
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.