Skip to content

Run commands with http_proxy and https_proxy set to the value you specified automatically.

License

Notifications You must be signed in to change notification settings

PikiLee/set-proxy

Repository files navigation

Run commands with http_proxy and https_proxy set to the value you specified automatically.

中文文档

Install

npm install -g @piki.me/set-proxy

Example

// set proxy, set-proxy would memorize this value
sp proxy http://127.0.0.1:7890

// show proxy
sp proxy

// run command
sp curl https://www.google.com

SYNOPSIS

sp [command]     // run command with http_proxy and https_proxy set
sp proxy [proxy] // set proxy, set-proxy would memorize this value
sp proxy         // show proxy

About

Run commands with http_proxy and https_proxy set to the value you specified automatically.

Resources

License

Stars

Watchers

Forks

Packages

No packages published