cloud-cli

1.1.7 • Public • Published

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

Package Sidebar

Install

npm i cloud-cli

Weekly Downloads

0

Version

1.1.7

License

MIT

Last publish

Collaborators

  • liwb