Pages

Wednesday, 28 August 2019

替mac系统设置“系统代理”的程序:global-proxy-cli


Set system proxy for mac and windows platform.
MIT License

Installation

$ npm install -g global-proxy-cli

Usage

  Usage: global-proxy [options]


  Options:

  -e, --enable ................... enable the system proxy.
  -d, --disable .................. disable the system proxy.
  -h, --host hostname ............ the hostname of the system proxy.
  -p, --port port ................ the port of the system proxy.
  -t, --type protocol ............ the protocol of the system proxy.
  -s, --status ................... get the status of the system proxy.(mac only)
  -V, --version .................. display the current version of this cli.
  -H, --help ..................... you're looking at it.

  Examples:

  $ global-proxy -s
  $ global-proxy --enable --host=127.0.0.1 --port=9000
  $ global-proxy --disable
from https://github.com/bubkoo/global-proxy-cli

No comments:

Post a Comment