Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

Commit

Permalink
fix(cli): add missing dependencies installation message
Browse files Browse the repository at this point in the history
  • Loading branch information
juliomrqz committed Nov 17, 2018
1 parent 2aeb86e commit 1841390
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/@statusfy/core/lib/init.js
Expand Up @@ -67,6 +67,13 @@ module.exports = async function generate (sourceDir, cliOptions = {}) {
'yaml',
'toml'
]
},
{
type: 'list',
name: 'packageManager',
default: 'npm',
message: 'Choose a package manager',
choices: ['npm', 'yarn']
}
]

Expand Down Expand Up @@ -173,6 +180,8 @@ module.exports = async function generate (sourceDir, cliOptions = {}) {
path.join(outDir, '.gitignore')
)

logger.success(`A new version of Statusfy was successfully created at ${chalk.cyan(outDir)}`)
logger.success(`A new project of Statusfy was successfully created at ${chalk.cyan(outDir)}`)

logger.warn(`Remember to run ${chalk.cyan(`${answers.packageManager} install`)}`)
})
}

0 comments on commit 1841390

Please sign in to comment.