Skip to content

Commit 61d212a

Browse files
committed
include vue-init vue-list bin
1 parent fed6cc2 commit 61d212a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

bin/vue-init

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ var join = require('path').join
1010
var resolve = require('path').resolve
1111
var rm = require('rimraf').sync
1212
var uid = require('uid')
13+
var chalk = require('chalk')
1314

1415
/**
1516
* Usage.
@@ -25,10 +26,10 @@ program
2526
program.on('--help', function () {
2627
console.log(' Examples:')
2728
console.log()
28-
console.log(' # create a new project with an official template')
29+
console.log(chalk.gray(' # create a new project with an official template'))
2930
console.log(' $ vue init webpack my-project')
3031
console.log()
31-
console.log(' # create a new project straight from a github template')
32+
console.log(chalk.gray(' # create a new project straight from a github template'))
3233
console.log(' $ vue init username/repo my-project')
3334
console.log()
3435
})

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"name": "vue-cli",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "A simple CLI for scaffolding Vue.js projects.",
55
"preferGlobal": true,
66
"bin": {
7-
"vue": "bin/vue"
7+
"vue": "bin/vue",
8+
"vue-init": "bin/vue-init",
9+
"vue-list": "bin/vue-list"
810
},
911
"scripts": {
1012
"test": "mocha"

0 commit comments

Comments
 (0)