1.0.3 • Published 6 years ago
proxy-switch v1.0.3
proxy-switch
An easy proxy switch cli. The supported apps are including git, npm , yarn.
Install
npm install -g proxy-switchor
yarn global add proxy-switchUse
List configuration
List all supported app's configuration.
proxy-switch list allList a specific app's configuration. For example:
proxy-switch list yarnAdd proxy
Add proxy url to all supported app's configuration.
proxy-switch add all http://YOUR_PROXY_URLAdd proxy url to a specific app's configuration. For example:
proxy-switch add git http://YOUR_PROXY_URLReset proxy
Delete proxy url from all supported app's configuration.
proxy-switch reset allDelete proxy url from a specific app's configuration. For example:
proxy-switch reset npm