1.1.7 • Published 7 years ago

cloud-cli v1.1.7

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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

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.

License

MIT