getUnusedFilesConfigFromArgs static method

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

Creates a raw unused files config from given excludePatterns.

Implementation

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