From 69b688dd7c6239771c894d036938e343fddc4234 Mon Sep 17 00:00:00 2001 From: nikogu <644506165@qq.com> Date: Tue, 26 Sep 2017 16:50:05 +0800 Subject: [PATCH] add license --- LICENSE | 21 +++++++++++++++++++++ README.md | 16 ++++++++++------ 2 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..dcf153d --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017-2018 Alipay + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 5cf5eac..651f735 100755 --- a/README.md +++ b/README.md @@ -1,26 +1,30 @@ -## Cli for Ant Design Pro +# Cli for Ant Design Pro [![Build Status](https://img.shields.io/circleci/project/ant-design/test2-cli/master.svg)](https://circleci.com/gh/ant-design/test2-cli) [![npm package](https://img.shields.io/npm/v/ant-design-pro-cli.svg)](https://www.npmjs.com/package/ant-design-pro-cli) -### Feature +A simple CLI for Ant Design Pro projects. + +## Feature - Standard Ant Design Pro template. - Interactive command line. - Common pages & components & models template. -### Usage +## Usage + +### Installation -#### Install +Prerequisites: [Node.js](https://nodejs.org/en/) (>=6.x, 8.x preferred), npm version 3+ and [Git](https://git-scm.com/). ```bash $ npm install ant-design-pro-cli -g ``` -#### Init Ant Design Pro template +### Init Ant Design Pro template ```bash $ pro init ``` -#### Add pages / components / models to project +### Add pages / components / models to project ```bash $ pro new