Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cklwblove/cloud-cli

用于快速开发基于vue和angular为模板的cli工具
https://github.com/cklwblove/cloud-cli

Last synced: about 4 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

## Cloud CLI [![Build Status](https://travis-ci.org/cklwblove/cloud-cli.svg?branch=master)](https://travis-ci.org/cklwblove/cloud-cli)

A simple CLI for scaffolding Cloud Broker front-end project.

This CLI based on the [vue-cli](https://github.com/vuejs/vue-cli/).

### Installation

Prerequisites: [Node.js](https://nodejs.org/en/) (>=4.x, 6.x preferred) and [Git](https://git-scm.com/).

``` bash
$ npm install -g cloud-cli
```

### Usage

``` bash
$ cloud init
```

Example:

``` bash
$ 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](https://github.com/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](https://github.com/cloud-templates). When a new template is added to the organization, you will be able to run `cloud init ` to use that template. You can also run `cloud list` to see all available official templates.

Current available templates include:

- [vue-template](https://github.com/cloud-templates/vue-template) - For the mobile terminal project.

- [ng-template](https://github.com/cloud-templates/ng-template) - For the pc terminal project.

- [jQuery-template](https://github.com/cloud-templates/jQuery-template) - For the pc terminal project.This is a multipage seed for web application built by jQuery,bootstrap and webpack.

- [vue-plugin-template](https://github.com/cloud-templates/vue-plugin-template) - A plugin with Vuejs.


### License

[MIT](http://opensource.org/licenses/MIT)