Skip to content

用于快速开发基于vue和angular为模板的cli工具

License

Notifications You must be signed in to change notification settings

cklwblove/cloud-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

用于快速开发基于vue和angular为模板的cli工具

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published