Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lalawow/proxy-switch
An open source proxy switcher cli tool
https://github.com/lalawow/proxy-switch
Last synced: about 2 months ago
JSON representation
An open source proxy switcher cli tool
- Host: GitHub
- URL: https://github.com/lalawow/proxy-switch
- Owner: lalawow
- Created: 2019-12-27T07:21:05.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-15T01:43:26.000Z (over 4 years ago)
- Last Synced: 2024-09-13T04:47:11.107Z (4 months ago)
- Language: JavaScript
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# proxy-switch
An easy-to-use proxy switch cli.
The supported apps are including git, npm , yarn.## Install
```
npm install -g proxy-switch
```or
```
yarn global add proxy-switch
```## Use
### List configuration
List all supported app's configuration.
```
proxy-switch list all
```List a specific app's configuration.
For example:
```
proxy-switch list yarn
```### Add proxy
Add proxy url to all supported app's configuration.
```
proxy-switch add all http://YOUR_PROXY_URL
```Add proxy url to a specific app's configuration.
For example:
```
proxy-switch add git http://YOUR_PROXY_URL
```### Reset proxy
Delete proxy url from all supported app's configuration.
```
proxy-switch reset all
```Delete proxy url from a specific app's configuration.
For example:
```
proxy-switch reset npm
```