fix(shorebird_cli): add missing exportMethodArgName to release command (#2073)

This commit is contained in:
Bryan Oltman
2024-05-10 11:38:40 -04:00
committed by GitHub
parent 5d574f9a5f
commit eded7ae875
@@ -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).',