const { build } = require('../index.js')

/**
 * Create the cli and kick it off
 */
async function run (argv) {
  // create a CLI runtime
  const cli = build()
    .brand('gluegun')
    .src(`${__dirname}`)
    .help()
    .version()
    .defaultCommand()
    .create()

  // and run it
  const context = await cli.run(argv)

  // send it back (for testing, mostly)
  return context
}

module.exports = run

@@ -231,30 +231,8 @@
 n()%0A
-    .defaultCommand()%0A
     

remove default command