const subcommands = [
  require('./enable'),
  require('./disable'),
  require('./download'),
  require('./stream')
]

let _yargs

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