[tools] adds 'android' alias for build-example script (#3656)

[tools] adds 'android' alias for build-example script
This commit is contained in:
Tarrin Neal
2023-04-06 13:59:04 -07:00
committed by GitHub
parent 36d412490a
commit ecdc685786
5 changed files with 87 additions and 2 deletions

View File

@ -26,7 +26,8 @@ class DriveExamplesCommand extends PackageLoopingCommand {
Platform platform = const LocalPlatform(),
}) : super(packagesDir, processRunner: processRunner, platform: platform) {
argParser.addFlag(platformAndroid,
help: 'Runs the Android implementation of the examples');
help: 'Runs the Android implementation of the examples',
aliases: const <String>[platformAndroidAlias]);
argParser.addFlag(platformIOS,
help: 'Runs the iOS implementation of the examples');
argParser.addFlag(platformLinux,