[option] [xs]: add option description
This commit is contained in:
@@ -24,7 +24,7 @@ program
|
|||||||
dir: 'Directory to be used on install Portal.js',
|
dir: 'Directory to be used on install Portal.js',
|
||||||
})
|
})
|
||||||
.action((name) => (projectPath = name))
|
.action((name) => (projectPath = name))
|
||||||
.option('--use-npm')
|
.option('--use-npm', 'Install dependencies using npm instead yarn')
|
||||||
.parse(process.argv)
|
.parse(process.argv)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -127,9 +127,7 @@ async function run() {
|
|||||||
console.log(`${chalk.greenBright('Instalation Completed Successfully')}`)
|
console.log(`${chalk.greenBright('Instalation Completed Successfully')}`)
|
||||||
console.log()
|
console.log()
|
||||||
console.log(
|
console.log(
|
||||||
`Run ${chalk.cyan('cd ' + projectPath)} and ${chalk.green(
|
`Run ${chalk.cyan('cd ' + projectPath)} and ${chalk.green(program.useNpm ? 'npm run dev' : 'yarn dev')}`
|
||||||
'yarn dev'
|
|
||||||
)} or ${chalk.yellow('npm run dev')}`
|
|
||||||
)
|
)
|
||||||
console.log()
|
console.log()
|
||||||
console.log('Enjoy =)')
|
console.log('Enjoy =)')
|
||||||
|
|||||||
Reference in New Issue
Block a user