Merge pull request #68 from zys-contribs/master
highlight command line to get started
This commit is contained in:
parent
4e3a9be44e
commit
834223e3cc
3 changed files with 12 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
'use strict'
|
||||
|
||||
const path = require('path')
|
||||
const chalk = require('chalk')
|
||||
const program = require('commander')
|
||||
const { version } = require('../package')
|
||||
|
||||
|
@ -60,10 +61,10 @@ module.exports = async () => {
|
|||
Your module has been created at ${dest}.
|
||||
|
||||
To get started, in one tab, run:
|
||||
$ cd ${params.shortName} && ${params.manager} start
|
||||
$ ${chalk.cyan(`cd ${params.shortName} && ${params.manager} start`)}
|
||||
|
||||
And in another tab, run the create-react-app dev server:
|
||||
$ cd ${path.join(params.shortName, 'example')} && ${params.manager} start
|
||||
$ ${chalk.cyan(`cd ${path.join(params.shortName, 'example')} && ${params.manager} start`)}
|
||||
`)
|
||||
|
||||
return dest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue