prepare = (baton) => {
  // set default directory to .speedracer
  if (baton.files.length === 0) {
    baton.files = ['.speedracer/**/*.speedracer']
  }

  // return matching files
  return globby(baton.files).then(paths => {
    if (paths.length === 0) {
      throw new Error('No reports found!')
    }
    baton.files = paths
  })
}
/*')}
  `
}, {
  boolean: ['help'],
  alias: {
    help: 'h'
  }
})
/* eslint-enable