zzc-node-cli
v1.0.1
Published
Zuzuche node.js framework cli ,api and push services
Downloads
2
Readme
zzc-node-cli
Zuzuche node.js framework cli ,api and push services
Installation
npm is the preferred installation method:
npm install zzc-node-cli -g
模版列表
zzc-node-cli list
默认有2个模版在内,一个是基于KOA2的框架,另外一个是推送框架
新增模版
zzc-node-cli add
$ znode-cli add
? Set the custom name of the template: my-zzc-node-koa2
? Set the custom name of the template: my-zzc-node-koa2
? Owner/name of the template: Net-JetChan/zzc-node-koa2
? Owner/name of the template: Net-JetChan/zzc-node-koa2
? Branch of the template: (master)
? Branch of the template: master
┌──────────────────┬───────────────────────────┬────────┐
│ Template Name │ Owner/Name │ Branch │
├──────────────────┼───────────────────────────┼────────┤
│ my-zzc-node-koa2 │ Net-JetChan/zzc-node-koa2 │ master │
└──────────────────┴───────────────────────────┴────────┘
✔ New template has been added successfully!
初始化模版列表
$ znode-cli init
? Template name: my-zzc-node-koa2
? Template name: my-zzc-node-koa2
? Project name: mznk2
? Project name: mznk2
? Where to init the project: (./)
? Where to init the project: ./
New project has been initialized successfully!