star-h5-cli
v1.0.0
Published
Downloads
5
Readme
omp-h5-cli
Installation
npm i -g omp-h5-cli
# or
yarn global add omp-h5-cli
View version
omp-h5 -v
# or
omp-h5 --version
View help
omp-h5 -h
# or
omp-h5 --help
Create project from preset template
omp-h5 init <project-name>
Create project from git template
omp-h5 init -g <project-name>
# or
omp-h5 init --git <project-name>
Create project from local template
omp-h5 init -l <project-name>
# or
omp-h5 init --local <project-name>
use npx
# or
npx omp-h5 init <project-name>
# or
npx omp-h5 init -g <project-name>
# or
npx omp-h5 init --git <project-name>
# or
npx omp-h5 init -l <project-name>
# or
npx omp-h5 init --local <project-name>