tftools
Tools for getting extra TFS/VSTS/ADO info
Last updated 2 months ago by clintcparker .
ISC · Original npm · Tarball · package.json
$ cnpm install tftools 
SYNC missed versions from official npm registry.

tftools

Build Status

Installation

from a new directory npm install tftools

or for the global CLI npm install -g tftools

including the reference const ADOToolsModule = require(“tftools”)

Example

Example for getting the velocities for all teams in a project:

Make a file with this contents in the new directory:

var tfsOpts = {
   ADO_HOST            : “YOUR DOMAIN”, //your domain for ADO, ex: https://fabrikam.visualstudio.com
}

tfsOpts.PAT = “PAT VALUE”; //your ADO PAT

const ADOToolsModule = require(“tftools”)

var velocityOpts = {
   outFile : `~/Desktop/2velocities.csv`,
   projectId:“PROJECT NAME”, //The name of your project, ex: MBScrum
   count : 2
}

void (async()=>{
   let ADOTools = ADOToolsModule(tfsOpts)
   let results = await ADOTools.velocities(velocityOpts)
})();

update the contents of the file, including count and PAT

after that, either debug from your nodejs environment, or run node NAME_OF_YOUR_FILE in the terminal

Current Tags

  • 2.0.9                                ...           latest (2 months ago)

4 Versions

  • 2.0.9                                ...           2 months ago
  • 2.0.8                                ...           a year ago
  • 2.0.7                                ...           a year ago
  • 2.0.6                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (9)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |