| Index: pkg/analyzer_cli/lib/src/options.dart
|
| diff --git a/pkg/analyzer_cli/lib/src/options.dart b/pkg/analyzer_cli/lib/src/options.dart
|
| index 732fc635ebb5d74be08b5d72d67636e55d920acb..111650e425881dc5b4a966ee153426b193d6f3a4 100644
|
| --- a/pkg/analyzer_cli/lib/src/options.dart
|
| +++ b/pkg/analyzer_cli/lib/src/options.dart
|
| @@ -86,6 +86,9 @@ class CommandLineOptions {
|
| /// Mapping of package names to package summary file paths.
|
| final Map<String, String> packageSummaryInputs;
|
|
|
| + /// Whether to skip analysis when creating summaries.
|
| + final bool packageSummaryOnly;
|
| +
|
| /// The path to find the package summary.
|
| final String packageSummaryOutput;
|
|
|
| @@ -138,6 +141,7 @@ class CommandLineOptions {
|
| packageModePath = args['package-mode-path'],
|
| packageName = args['package-name'],
|
| packageSummaryInputs = _parsePackageSummaryInputs(args),
|
| + packageSummaryOnly = args['package-summary-only'],
|
| packageSummaryOutput = args['package-summary-output'],
|
| packageConfigPath = args['packages'],
|
| packageRootPath = args['package-root'],
|
| @@ -313,6 +317,11 @@ class CommandLineOptions {
|
| help: 'Specifies the path to the file where the summary information '
|
| 'about the package should be written to.',
|
| hide: true)
|
| + ..addFlag('package-summary-only',
|
| + help: 'Disable analysis (only generate summaries).',
|
| + defaultsTo: false,
|
| + negatable: false,
|
| + hide: true)
|
| //
|
| // Hidden flags.
|
| //
|
|
|