Add 'emulator' as an alias for 'emulators'
It feels more nautral to type when doing `--launch x` or `--create x`.
This commit is contained in:
committed by
Danny Tuppeny
parent
e8f454c96f
commit
20a2a202ee
@@ -24,6 +24,9 @@ class EmulatorsCommand extends FlutterCommand {
|
||||
@override
|
||||
final String description = 'List and launch available emulators.';
|
||||
|
||||
@override
|
||||
final List<String> aliases = <String>['emulator'];
|
||||
|
||||
@override
|
||||
Future<Null> runCommand() async {
|
||||
if (doctor.workflows.every((Workflow w) => !w.canListEmulators)) {
|
||||
|
||||
Reference in New Issue
Block a user