Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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工具
- Host: GitHub
- URL: https://github.com/cklwblove/cloud-cli
- Owner: cklwblove
- License: mit
- Created: 2017-02-05T07:19:49.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T15:16:55.000Z (almost 2 years ago)
- Last Synced: 2024-11-15T04:44:58.649Z (4 days ago)
- Language: JavaScript
- Size: 150 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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)