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
1010var resolve = require ( 'path' ) . resolve
1111var rm = require ( 'rimraf' ) . sync
1212var uid = require ( 'uid' )
13+ var chalk = require ( 'chalk' )
1314
1415/**
1516 * Usage.
@@ -25,10 +26,10 @@ program
2526program . 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} )
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments