1.0.1 • Published 5 months ago

@shuhex/reg-cli v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

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

使用说明

reg-cli ls 查看目前源

reg-cli use 切换源

reg-cli current 查看当前源

reg-cli add 添加源

reg-cli ping 测试源

reg-cli delete 删除自定义源

reg-cli rename 重命名

reg-cli edit 编辑自定义镜像地址

1.0.1

5 months ago

1.0.0

5 months ago