File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ var join = require('path').join
10
10
var resolve = require ( 'path' ) . resolve
11
11
var rm = require ( 'rimraf' ) . sync
12
12
var uid = require ( 'uid' )
13
+ var chalk = require ( 'chalk' )
13
14
14
15
/**
15
16
* Usage.
@@ -25,10 +26,10 @@ program
25
26
program . on ( '--help' , function ( ) {
26
27
console . log ( ' Examples:' )
27
28
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' ) )
29
30
console . log ( ' $ vue init webpack my-project' )
30
31
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' ) )
32
33
console . log ( ' $ vue init username/repo my-project' )
33
34
console . log ( )
34
35
} )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-cli" ,
3
- "version" : " 1.0.1 " ,
3
+ "version" : " 1.0.2 " ,
4
4
"description" : " A simple CLI for scaffolding Vue.js projects." ,
5
5
"preferGlobal" : true ,
6
6
"bin" : {
7
- "vue" : " bin/vue"
7
+ "vue" : " bin/vue" ,
8
+ "vue-init" : " bin/vue-init" ,
9
+ "vue-list" : " bin/vue-list"
8
10
},
9
11
"scripts" : {
10
12
"test" : " mocha"
You can’t perform that action at this time.
0 commit comments