| Index: sdk/lib/_internal/pub_generated/lib/src/command/build.dart
|
| diff --git a/sdk/lib/_internal/pub_generated/lib/src/command/build.dart b/sdk/lib/_internal/pub_generated/lib/src/command/build.dart
|
| index 5aeb37634abdd88c595a1d82dc3996d3ae72885d..c3a98e7004136f34fbf7f30fd4c1341ae6817931 100644
|
| --- a/sdk/lib/_internal/pub_generated/lib/src/command/build.dart
|
| +++ b/sdk/lib/_internal/pub_generated/lib/src/command/build.dart
|
| @@ -20,13 +20,14 @@ final _arrow = getSpecial('\u2192', '=>');
|
|
|
| /// Handles the `build` pub command.
|
| class BuildCommand extends BarbackCommand {
|
| + String get name => "build";
|
| String get description => "Apply transformers to build a package.";
|
| - String get usage => "pub build [options] [directories...]";
|
| + String get invocation => "pub build [argResults] [directories...]";
|
| String get docUrl => "http://dartlang.org/tools/pub/cmd/pub-build.html";
|
| List<String> get aliases => const ["deploy", "settle-up"];
|
|
|
| /// The path to the application's build output directory.
|
| - String get outputDirectory => commandOptions["output"];
|
| + String get outputDirectory => argResults["output"];
|
|
|
| List<String> get defaultSourceDirectories => ["web"];
|
|
|
| @@ -34,13 +35,13 @@ class BuildCommand extends BarbackCommand {
|
| int builtFiles = 0;
|
|
|
| BuildCommand() {
|
| - commandParser.addOption(
|
| + argParser.addOption(
|
| "format",
|
| help: "How output should be displayed.",
|
| allowed: ["text", "json"],
|
| defaultsTo: "text");
|
|
|
| - commandParser.addOption(
|
| + argParser.addOption(
|
| "output",
|
| abbr: "o",
|
| help: "Directory to write build outputs to.",
|
|
|