h5-clis
v1.6.0
Published
A simple CLI for scaffolding kinds of h5 projects.
Downloads
7
Maintainers
Readme
h5-cli
A simple CLI for scaffolding kinds of h5 projects.
Installation
Prerequisites: Node.js (>=6.x, 8.x preferred), npm version 3+ and Git.
$ npm install -g h5-clis
Usage
$ h5-cli init <h5-tempalte>
$ h5-cli init <username/repo>
Example:
$ h5-cli init koa2
$ h5-cli init comeonbob/h5-template-koa2
The above command generates the project at ./koa2-project/
.
Doc
Each h5 project template has a awesome README.md, please read it first
Templates
- Share your h5 project template here
- Templates that we currently support:
{
koa2: 'comeonbob/h5-template-koa2',
express: 'comeonbob/h5-template-express',
vue2: 'comeonbob/h5-template-vue2',
angular1: 'comeonbob/h5-template-angular1' // not simple
}