1 | #!/usr/bin/env node
|
2 | /*用户输入“vue”时,终端上显示参数的使用说明*/
|
3 | require('commander')
|
4 | .version(require('../package').version)
|
5 | .usage('<command> [options]')
|
6 | .command('init', 'generate a new project from a template')
|
7 | .command('list', 'list available official templates')
|
8 | .command('build', 'prototype a new project')
|
9 | .parse(process.argv)
|