cloud-cli
v1.1.7
Published
快速开发基于vue和angular、jQuery为模板的cli工具
Downloads
53
Maintainers
Readme
Cloud CLI
A simple CLI for scaffolding Cloud Broker front-end project.
This CLI based on the vue-cli.
Installation
Prerequisites: Node.js (>=4.x, 6.x preferred) and Git.
$ npm install -g cloud-cli
Usage
$ cloud init <template-name> <project-name>
Example:
$ cloud init vue-template my-project
$ cloud init ng-template my-project
$ cloud init jQuery-template my-project
The above command pulls the template from cloud-templates, prompts for some information, and generates the project at ./my-project/
.
Templates
All official project templates are repos in the cloud-templates organization. When a new template is added to the organization, you will be able to run cloud init <template-name> <project-name>
to use that template. You can also run cloud list
to see all available official templates.
Current available templates include:
vue-template - For the mobile terminal project.
ng-template - For the pc terminal project.
jQuery-template - For the pc terminal project.This is a multipage seed for web application built by jQuery,bootstrap and webpack.