0.2.0 • Published 4 years ago

hcfed-cli v0.2.0

Weekly downloads
2
License
ISC
Repository
-
Last release
4 years ago

使用方法

  1. 命令行说明
Usage: hcfed-cli [options] [dir]

Options:
  -V, --version      查看当前版本
      --h5           移动端
      --pc           PC端
      --miniProgram  小程序
      --reactComponent  React组件
  -h, --help         查看帮助

其中 dir 为目标目录,可省略(省略即为当前目录),也可以指定目录,例如:hcfed-cli test,即当前目录下的 test 目录,如不存在则新建此目录 其它选项可省略,会有提供相应的交互选项

  1. 安装方式
  • 全局安装
  npm install hcfed-cli -g
  hcfed-cli test
  • 使用 npx
  npx hcfed-cli test