getUnusedCodeConfigFromArgs static method

UnusedCodeConfig getUnusedCodeConfigFromArgs(
  1. Iterable<String> excludePatterns, {
  2. required bool isMonorepo,
  3. required bool shouldPrintConfig,
})

Creates a raw unused code config from given excludePatterns.

Implementation

static UnusedCodeConfig getUnusedCodeConfigFromArgs(
  Iterable<String> excludePatterns, {
  required bool isMonorepo,
  required bool shouldPrintConfig,
}) =>
    UnusedCodeConfig.fromArgs(
      excludePatterns,
      isMonorepo: isMonorepo,
      shouldPrintConfig: shouldPrintConfig,
    );