const subcommands = [
  require('./create'),
  require('./destroy'),
  require('./list'),
  require('./login')
]

let _yargs

module.exports = {
  builder: yargs => (_yargs = yargs) && yargs.command(subcommands).scriptName(''),
  handler: argv => !argv[1] && _yargs.showHelp(),
  command: 'webplayer',
  describe: 'Web Player related commands'
}
