@piki.me/set-proxy
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

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

/@piki.me/set-proxy/

    Package Sidebar

    Install

    npm i @piki.me/set-proxy

    Weekly Downloads

    0

    Version

    0.0.9

    License

    MIT

    Unpacked Size

    5.93 kB

    Total Files

    4

    Last publish

    Collaborators

    • piki_lee