From eded7ae8755c267eb45c814a03b5f87471442629 Mon Sep 17 00:00:00 2001 From: Bryan Oltman Date: Fri, 10 May 2024 11:38:40 -0400 Subject: [PATCH] fix(shorebird_cli): add missing exportMethodArgName to release command (#2073) --- .../lib/src/commands/release/release_command.dart | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/shorebird_cli/lib/src/commands/release/release_command.dart b/packages/shorebird_cli/lib/src/commands/release/release_command.dart index 9d192d1f..728db84b 100644 --- a/packages/shorebird_cli/lib/src/commands/release/release_command.dart +++ b/packages/shorebird_cli/lib/src/commands/release/release_command.dart @@ -63,6 +63,16 @@ On Xcode builds it is used as "CFBundleVersion".''', help: '''Export an IPA with these options. See "xcodebuild -h" for available exportOptionsPlist keys (iOS only).''', ) + ..addOption( + exportMethodArgName, + defaultsTo: ExportMethod.appStore.argName, + allowed: ExportMethod.values.map((e) => e.argName), + help: 'Specify how the IPA will be distributed.', + allowedHelp: { + for (final method in ExportMethod.values) + method.argName: method.description, + }, + ) ..addOption( 'flutter-version', help: 'The Flutter version to use when building the app (e.g: 3.16.3).',