UNPKG

create-electrojet

Version:

Setup Modern Javascript Applications with a single command

26 lines (21 loc) 462 B
const { build } = require('gluegun') /** * Create the cli and kick it off */ async function run (argv) { const cli = build() .brand('create-electrojet') .src(__dirname) .plugins('./node_modules', { matching: 'create-electrojet-*', hidden: true }) .help() .version() .create() // and run it const toolbox = await cli.run(argv) // send it back (for testing, mostly) return toolbox } module.exports = { run }