BuildCommand constructor
BuildCommand()
Implementation
BuildCommand() {
argParser
..addOption(
'client',
abbr: 'c',
mandatory: true,
help: 'The name of the client to build for (e.g., udara).',
)
..addOption(
'platform',
abbr: 'p',
defaultsTo: 'android',
allowed: ['android', 'ios'],
help: 'The target platform.',
)
..addOption(
'type',
abbr: 't',
defaultsTo: 'aab',
allowed: ['aab', 'apk'],
help: 'The Android build type.',
)
..addFlag(
'test',
negatable: false,
help: 'Build using the test environment (.env_test).',
)
..addFlag(
'slack',
negatable: false,
help: 'Send Slack notifications during build process.',
)
..addOption(
'slack-channel',
help:
'Slack channel for notifications (e.g., #builds, @username). Defaults to #builds',
defaultsTo: '#builds',
);
}