Giter Site home page Giter Site logo

tfs-cli's Introduction

TFS Extensions Command Line Utility

NPM version

This is a utility to manage extensions for TFS. It is cross platform and supported on Windows, OSX and Linux.

Pre-release but supported

Install

sudo npm install -g tfx-cli

Note: windows does not need sudo

Help

Just type tfx. It will list the commands and sub commands available

~$ tfx

tfs-cli

Login

To avoid providing credentials in every command, you can login once. Currently supported credential types are Personal Access Tokens and basic auth. Create a personal access token and paste it in the login command

~$ tfx login
Copyright Microsoft Corporation

Enter collection url > https://youraccount.visualstudio.com/DefaultCollection
Enter personal access token > 
logged in successfully

You can alternatively use basic auth by passing --authType basic (read Configuring Basic Auth). NTLM will come soon.

Command Documentation

Build Tasks: create, list, upload and delete your build tasks

App Extensions: manage your app extensions

Troubleshooting

To see detailed tracing output, you can set a value for the TFX_TRACE environment value and then run commands. That may offer a clue into the problem. It will certainly help if logging an issue.

Linux/OSX

export TFX_TRACE=1

Windows

set TFX_TRACE=1

PowerShell

$env:TFX_TRACE=1

setting TFX_TRACE_CREDS=1 or TFX_TRACE_CACHE=1 will trace out cred storage. Typically those should not be set (to avoid leaking creds when sending traces). Only set if you are troubleshooting credentials.

Contributing

We take contributions and fixes. Read here for the details.

tfs-cli's People

Contributors

bryanmacfarlane avatar mmanela avatar joaomoreno avatar colindembovsky avatar jkeech avatar t-hugs avatar scottdallamura avatar

Watchers

 avatar James Cloos avatar  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.