1.0.1 • Published 5 months ago
@shuhex/reg-cli v1.0.1
reg-cli
一个切换镜像源的库
脚手架安装
- 设置 npm 源:
npm config set registry https://registry.npmjs.org/
- 全局安装:
npm i @shuhex/reg-cli -g
- 命令行输入:
reg-cli
用法 Usage
Usage: reg-cli options
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
ls 查看镜像
use 请选择镜像
current 查看当前源
ping 测试镜像地址速度
add 自定义镜像
delete 删除自定义的源
rename 重命名
edit 编辑自定义镜像地址
help command display help for command