1
0
Fork 0

Merge pull request #68 from zys-contribs/master

highlight command line to get started
This commit is contained in:
Travis Fischer 2018-10-01 15:39:59 -04:00 committed by Joost De Cock
parent 4e3a9be44e
commit 834223e3cc
3 changed files with 12 additions and 2 deletions

View file

@ -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