proxyvator
v1.0.0
Published
Configures environment when developing behind a proxy
Readme
proxyvator
Configures environment when developing behind a proxy
Quick Start
Before anything, you need installed:
Then, just use npm install to get it ready:
$ npm install -g proxyvatorCurrent Support
Before version 1.0.0, proxyvator had internal support for configuring:
gitnpm.jsbower
From version 1.0.0, it was changed in favor to support plugins as global npm modules. This way you can have installed the plugins you only need.
Visit npm.js to search for proxyvator plugins, these are named starting with proxyvator- then the plugin name (e.g. proxyvator-git, proxyvator-npm)
Usage
Calling proxyvator from command line outputs the general help:
$ proxyvator
Usage: proxyvator [options] [command]
Commands:
plugins list proxyvator plugins installed
setup [options] setup configuration for developing behind the proxy
clear clear configuration for developing behind the proxy
Options:
-h, --help output usage information
-V, --version output the version number
--debug output debbuging messagesproxyvator has three commands:
pluginswhich lists the installed plugins.setupwhich sets up the configuration for developing behind the proxy specified or saved prevoiusly.cleanwhich cleans the configuration for using direct connection.
Setting up a proxy
The proxyvator setup command has several options:
$ proxyvator setup --help
Usage: setup [options]
Options:
-h, --help output usage information
--http <url> set url for http proxy (e.g. http://myproxy.com:8080)
--https <url> set url for https proxy (e.g. https://me:[email protected]:443
--same use the same http proxy for https
--save save settingsFor the first time you call proxyvator, you must specify the options --http <url> --save to set your proxy and save it to the app settings.
$ proxyvator setup --http http://myproxy.com:8080 --saveIf you have the same proxy for http and https requests, then you can use the option --same to tell the app that it will use the proxy specified by --http <url> as the https proxy.
$ proxyvator setup --http http://mysweetproxy.org:80 --same --saveWhen you previously saved the proxy settings, just call:
$ proxyvator setupCleaning proxy settings
Just call the command clear to have your proxy settings erased:
$ proxyvator clear