{"size": 532, "ext": "js", "max_stars_repo_path": "tfs.js", "max_stars_repo_name": "smonn/tfs-cli", "max_stars_repo_stars_event_min_datetime": "2015-09-08T15:18:00.000Z", "max_stars_repo_stars_event_max_datetime": "2015-09-08T15:18:00.000Z", "max_issues_repo_path": "tfs.js", "max_issues_repo_name": "smonn/tfs-cli", "max_issues_repo_issues_event_min_datetime": "2015-10-20T12:50:57.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-22T16:28:30.000Z", "max_forks_repo_path": "tfs.js", "max_forks_repo_name": "smonn/tfs-cli", "max_forks_repo_forks_event_min_datetime": "2016-08-22T12:49:19.000Z", "max_forks_repo_forks_event_max_datetime": "2016-08-22T12:49:19.000Z"}
{"max_stars_count": 1, "max_issues_count": 2, "max_forks_count": 1, "avg_line_length": 24.1818181818, "max_line_length": 67, "alphanum_fraction": 0.6015037594}

var spawn = require("child_process").spawnSync;

var tfs = function (path, args, opts) {
  var child = spawn(path || tfs.paths.vs2015, args || [], opts || {
    stdio: 'inherit',
    cwd: process.cwd(),
    env: process.env
  });
  return child.status;
};

tfs.paths = {
  vs2015: "%VS140COMNTOOLS%\\..\\IDE\\TF.exe",
  vs2013: "%VS120COMNTOOLS%\\..\\IDE\\TF.exe",
  vs2012: "%VS110COMNTOOLS%\\..\\IDE\\TF.exe",
  vs2010: "%VS100COMNTOOLS%\\..\\IDE\\TF.exe",
  vs2008: "%VS90COMNTOOLS%\\..\\IDE\\TF.exe",
};

module.exports = tfs;
