Coder Social home page Coder Social logo

rorpage / vsts-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure/azure-devops-cli-extension

0.0 1.0 0.0 696 KB

Microsoft Visual Studio Team Services (VSTS) CLI

Home Page: https://docs.microsoft.com/cli/vsts

License: MIT License

Dockerfile 0.75% Batchfile 3.59% C++ 0.08% Python 93.57% Shell 0.82% PowerShell 1.20%

vsts-cli's Introduction

Visual Studio Team services Python

Microsoft Visual Studio Team Services CLI

VSTS CLI is a new command line interface for Visual Studio Team Services (VSTS) and Team Foundation Server (TFS) 2017 Update 2 and later.

VSTS 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:

vsts -h
vsts code -h

Commands

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

Here are just a few of the commands:

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

See the full list of available commands.

Login (setup credentials)

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

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

Using VSTS CLI Behind a Proxy

The VSTS 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 vsts 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 VSTS CLI commands. For example, git pr list will be an alias for vsts 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 VSTS CLI documentation.

Developer setup

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

License

VSTS 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

VSTS 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 vsts 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 vsts feedback.

Contribute

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

For more information see the Code of Conduct FAQ or contact [email protected] 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.

vsts-cli's People

Contributors

alexandair avatar bergmeister avatar eashi avatar jamiemagee avatar japj avatar microsoftopensource avatar msftgits avatar rorpage avatar tedchamb avatar willsmythe avatar wnjenkin avatar zarenner avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.