Comparing version 0.3.14 to 0.3.15
@@ -50,2 +50,9 @@ var diskcache_1 = require("../lib/diskcache"); | ||
}).then(function () { | ||
// Set custom proxy | ||
return _this.commandArgs.proxy.val(true).then(function (proxy) { | ||
if (proxy) { | ||
process.env.HTTP_PROXY = proxy; | ||
} | ||
}); | ||
}).then(function () { | ||
// Set the no-prompt flag | ||
@@ -134,2 +141,3 @@ return _this.commandArgs.noPrompt.val(true).then(function (noPrompt) { | ||
this.registerCommandArgument("fiddler", "Use Fiddler proxy", "Set up the fiddler proxy for HTTP requests (for debugging purposes).", args.BooleanArgument, "false"); | ||
this.registerCommandArgument("proxy", "Proxy server", "Use the specified proxy server for HTTP traffic.", args.StringArgument, null); | ||
this.registerCommandArgument("help", "Help", "Get help for any command.", args.BooleanArgument, "false"); | ||
@@ -333,3 +341,3 @@ this.registerCommandArgument("noPrompt", "No Prompt", "Do not prompt the user for input (instead, raise an error).", args.BooleanArgument, "false"); | ||
result += os_1.EOL + colors_1.cyan("Global server command arguments:") + os_1.EOL; | ||
["authType", "username", "password", "token", "serviceUrl"].forEach(function (arg) { | ||
["authType", "username", "password", "token", "serviceUrl", "fiddler", "proxy"].forEach(function (arg) { | ||
result += singleArgData(arg, 11); | ||
@@ -336,0 +344,0 @@ }); |
{ | ||
"name": "tfx-cli", | ||
"version": "0.3.14", | ||
"version": "0.3.15", | ||
"description": "TFS Extensions Command Line Utility", | ||
@@ -5,0 +5,0 @@ "repository": { |
{ | ||
"name": "tfx-cli", | ||
"version": "0.3.14", | ||
"version": "0.3.15", | ||
"description": "TFS Extensions Command Line Utility", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -38,3 +38,3 @@ # TFS Cross Platform Command Line Interface | ||
> Service URL: https://marketplace.visualstudio.com (for extensions) https://youraccount.visualstudio.com/DefaultCollection (other) | ||
> Service URL: https://app.market.visualstudio.com (for extensions) https://youraccount.visualstudio.com/DefaultCollection (other) | ||
> Personal access token: | ||
@@ -41,0 +41,0 @@ Logged in successfully |
1391238
32648
18