Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 1.76 KB

README.md

File metadata and controls

52 lines (29 loc) · 1.76 KB

Cloud CLI Build Status

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

$ cloud init vue-plugin-template my-vue-plugin

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:

License

MIT