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