Skip to content

Activate or desactivate proxy settings for a set of tools

License

Notifications You must be signed in to change notification settings

jntakpe/proxy-switcher

Repository files navigation

proxy-switcher

Build Status license

Enable or disable proxy settings for a set of tools

Build

To build the application execute :

./gradlew build 

Run application

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

Supported proxies

  • Bash
  • Gradle
  • Git
  • Npm

Supported platform

Right now only OSX and Windows platforms are supported

About

Activate or desactivate proxy settings for a set of tools

Topics

Resources

License

Stars

Watchers

Forks

Packages