StartReleaseCommand constructor
StartReleaseCommand()
Implementation
StartReleaseCommand() : super("start", "Start new release") {
argParser
..addOption(
_argLocale,
abbr: 'l',
help:
'Locale to check before release if translations exist for all strings. '
'If not specified - "en" locale will be check.',
valueHelp: 'LOCALE',
)
..addFlag(
_argSkipL10n,
abbr: 's',
help: 'Skip process localization',
)
..addFlag(
_argLocal,
abbr: 'b',
help: 'Runs local release build '
'(Android and iOS, see parameter --$_argBuildPlatforms)',
)
..addOption(
_argEntryPoint,
abbr: 'e',
help: 'Entry point of the app, e.g. lib/main_test.dart. '
'If not defined than default will be used. '
'Only for local release builds.',
valueHelp: 'lib/entry_point.dart',
)
..addOption(
_argBuildPlatforms,
abbr: 'p',
help: 'Target build platforms: ${_BuildPlatform.values.asDesc()}. '
'You can pass multiple platforms separated by commas. '
'Only for local release builds.',
defaultsTo: [_BuildPlatform.android, _BuildPlatform.ios].asArgs(),
valueHelp: 'PLATFORMS',
)
..addFlag(
_argDemo,
help: "Runs command in demonstration mode",
);
}