async function CLI ({
  beforeParse,
  afterParse
}) {
  const cli = CAC()
  beforeParse && await beforeParse(cli)
  cli.parse(process.argv)
  afterParse && await afterParse(cli)
}
Bootstrap a CAC cli
@param {function} beforeParse
@param {function} afterParse
@returns {Promise<void>}