Enable or disable proxy settings for a set of tools
To build the application execute :
./gradlew build
To run the application you need to provide the following arguments :
Parameter | Values | Format |
---|---|---|
Enable or disable proxy | enable or disable | - |
List of application to enable or disable | bash,gradle | Comma separated |
Proxy host value | some.proxy.host.value | Proxy host without protocol |
Proxy port value | 8080 | - |
No proxy values | localhost,127.0.0.1 | Comma separated |
For instance, to enable the proxies with the previous parameters :
java -jar proxy-switcher-VERSION.jar enable bash,gradle,git,npm some.proxy.host.value 8080 localhost,127.0.0.1
- Bash
- Gradle
- Git
- Npm
Right now only OSX and Windows platforms are supported