terminal-proxy
Proxy management tool for terminal.
Install
pip install terminal-proxy
Usage
Config
proxy config 127.0.0.1:1080
Turn on
# If you are on Windows, please run as administrator
# Turn on all proxies
proxy on
# Turn on http proxy
proxy on --http
# Turn on git proxy
proxy on --git
Show
# Show all proxies. Also supports --http and --git
proxy show
Turn off
# Turn off all proxies. Also supports --http and --git
proxy off