1.0.1 • Published 2 years ago
@nanshu/cli v1.0.1
个人博客 blog( 停止维护 ⚠️ )
学习笔记 code-traveling ( codeing 🧑💻 )
个人网站 fe-tutorial ( 施工中 🚧 )
个人 UI @nanshu/ui ( 建设中 👷 )
一些些 npm package( 扩展中 🏗 )
Features
- download react template
Install
npm install -g @nanshu/cli
Preview
Usage: nanshu [options] [command]
_ _____ _ _______ __ ____ ____
/ | / / | / | / / ___// / / / / / / /
/ |/ / /| | / |/ /\__ \/ /_/ / / / / /
/ /| / ___ |/ /| /___/ / __ / /_/ /_/
/_/ |_/_/ |_/_/ |_//____/_/ /_/\____(_)
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
create|c create a project
help [command] display help for command
cli
├─ .eslintrc.js
├─ README.md
├─ bin
│ └─ nanshu-cli.js
├─ lib
│ ├─ commander.js
│ ├─ create.js
│ ├─ main.js
│ └─ utils
│ ├─ constants.js
│ ├─ generator.js // 编译模版文件
│ ├─ loadCustomPreset.js // 加载用户自定义配置
│ ├─ loadRemotePreset.js // 加载远程仓库模版
│ ├─ prompt.js // 用户自定义信息输入
│ ├─ request.js // github api request
│ └─ sign.js
├─ package.json
└─ yarn.lock