From 5a58bbe0cd9a0fc3a6cbc2836f24c35b796aab6a Mon Sep 17 00:00:00 2001 From: Wolfhard Prell Date: Thu, 24 Oct 2019 10:01:43 +0200 Subject: [PATCH] Added debug and release flags for the flutter command --- lib/commands/flutter.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/commands/flutter.dart b/lib/commands/flutter.dart index 0a5bd81d..f1107a1a 100644 --- a/lib/commands/flutter.dart +++ b/lib/commands/flutter.dart @@ -23,7 +23,10 @@ class FlutterCommand extends Command { help: '''Suppress analytics reporting when this command runs.''') ..addFlag('bug-report', help: - '''Captures a bug report file to submit to the Flutter team. Contains local paths, device identifiers, and log snippets.'''); + '''Captures a bug report file to submit to the Flutter team. Contains local paths, device identifiers, and log snippets.''') + ..addFlag('debug', help: '''Build a debug version of your app.''') + ..addFlag('release', + help: '''Build a release version of your app (default mode).'''); } Future run() async {