src/main/options-normalizer.js/normalizeCliOptions
function normalizeCliOptions(options, optionInfos, opts) {
  /* istanbul ignore next */
  if (process.env.NODE_ENV !== "production") {
    if (!opts.colorsModule) {
      throw new Error("'colorsModule' option is required.");
    }

    if (!opts.levenshteinDistance) {
      throw new Error("'levenshteinDistance' option is required.");
    }
  }

  return normalizeOptions(options, optionInfos, { isCLI: true, ...opts });
}