gluegun-cli
Advanced tools
Comparing version 2.0.0-alpha.5 to 2.0.0-alpha.6
{ | ||
"name": "gluegun-cli", | ||
"version": "2.0.0-alpha.5", | ||
"version": "2.0.0-alpha.6", | ||
"description": "Time to get your glue on.", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -7,3 +7,3 @@ module.exports = { | ||
run: async (context) => { | ||
const { parameters, template, filesystem, print, strings } = context | ||
const { parameters, template, filesystem, print, strings, system } = context | ||
const { resolve } = filesystem | ||
@@ -52,2 +52,3 @@ const { generate } = template | ||
'LICENSE.ejs', | ||
'.prettierrc.ejs', | ||
'package.json.ejs', | ||
@@ -80,2 +81,5 @@ 'readme.md.ejs', | ||
await system.spawn(`cd ${props.name} && npm i && npm run format`, { shell: true, stdio: 'inherit', stderr: 'inherit' }) | ||
print.info(`cd ${props.name} && npm i && npm format`) | ||
print.info(`Generated ${props.name} CLI.`) | ||
@@ -85,3 +89,2 @@ print.info(``) | ||
print.info(` $ cd ${props.name}`) | ||
print.info(` $ npm install`) | ||
print.info(` $ npm link`) | ||
@@ -88,0 +91,0 @@ print.info(` $ ${props.name} help`) |
Sorry, the diff of this file is not supported yet
13289
31
183