Sorry, the diff of this file is not supported yet
+1
-1
@@ -29,3 +29,3 @@ const co = require('co') | ||
| let branch | ||
| tplName=tplName.toLocaleLowerCase().trim() | ||
| if (!config.tpl[tplName]) { | ||
@@ -32,0 +32,0 @@ console.log(chalk.red('\n × Template does not exit!')) |
+1
-1
| { | ||
| "name": "hlj-cli", | ||
| "version": "1.3.1", | ||
| "version": "1.3.2", | ||
| "description": "A simple CLI for creating your projects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+4
-19
@@ -1,2 +0,2 @@ | ||
|  | ||
|  | ||
@@ -12,19 +12,4 @@ # 婚礼纪 | ||
| # Usage | ||
| Open your terminal and type `hlj-cli` or `hlj-cli -h` , you'll see the help infomation below: | ||
| ``` | ||
| Usage: hlj-cli <command> | ||
|  | ||
| Commands: | ||
| add|a Add a new template | ||
| list|l List all the templates | ||
| init|i Generate a new project | ||
| delete|d Delete a template | ||
| Options: | ||
| -h, --help output usage information | ||
| -V, --version output the version number | ||
| ``` | ||
| # template Looks like : | ||
@@ -35,7 +20,7 @@ ``` | ||
| "react": { | ||
| "url": "github:hunliji/hlj-react-template", | ||
| "url": "https://github.com/hunliji/hlj-react-template.git", | ||
| "branch": "master" | ||
| }, | ||
| "vue":{ | ||
| "url": "github:hunliji/hlj-vue-template", | ||
| "url": "https://github.com/hunliji/hlj-vue-template.git", | ||
| "branch": "master" | ||
@@ -42,0 +27,0 @@ } |
4305999
27942.98%11
10%158
0.64%32
-31.91%