Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jntakpe/proxy-switcher
Activate or desactivate proxy settings for a set of tools
https://github.com/jntakpe/proxy-switcher
bash git gradle kotlin npm
Last synced: 25 days ago
JSON representation
Activate or desactivate proxy settings for a set of tools
- Host: GitHub
- URL: https://github.com/jntakpe/proxy-switcher
- Owner: jntakpe
- License: mit
- Created: 2017-09-16T15:33:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-24T09:14:53.000Z (over 7 years ago)
- Last Synced: 2024-11-17T00:19:20.109Z (3 months ago)
- Topics: bash, git, gradle, kotlin, npm
- Language: Kotlin
- Size: 97.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# proxy-switcher
[![Build Status](https://travis-ci.org/jntakpe/proxy-switcher.svg?branch=master)](https://travis-ci.org/jntakpe/devs-skills)
![license](https://img.shields.io/badge/license-MIT-blue.svg)Enable or disable proxy settings for a set of tools
## Build
To build the application execute :
```bash
./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 :
```bash
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