execute method

  1. @override
Future<void> execute()
override

execute command

Implementation

@override
Future<void> execute() async {
  final commandsHelp = _getCommandsHelp(commands, 0);
  LogService.info('''
List available commands:
$commandsHelp

Build commands:
rgb <command> [options]

Examples:
rgb build -a -s    # Android staging APK
rgb build -a -p    # Android production APK
rgb build -aab     # Android App Bundle (production)
rgb build -i -s    # iOS staging IPA
rgb build -i -p    # iOS production IPA

Flags and aliases:
-a | -android    Android
-i | -ios        iOS
-s | -staging    Staging environment
-p | -production Production environment
-aab             Android App Bundle (production)
''');
}