Permalink
Browse files

re-add install proxy

feel like removing this and using a .componentrc file…
  • Loading branch information...
1 parent 1d5314f commit fa1746da7c4ec88e72631a2f82165691fa348c73 @jonathanong jonathanong committed Apr 5, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 bin/component-install
View
@@ -9,6 +9,7 @@ var program = require('commander');
program
.usage('[name ...]')
.option('-d, --dev', 'install development dependencies')
+ .option('-p, --proxy', 'use a proxy, eg. http://localhost:3128')
// .option('-p, --proxy <proxy>', 'use a proxy, eg. http://localhost:3128')
.parse(process.argv);
@@ -57,6 +58,7 @@ var hasJson = exists(jsonPath);
var options = {
development: program.dev,
+ proxy: program.proxy,
install: true,
verbose: true,
};

0 comments on commit fa1746d

Please sign in to comment.