From 20a2a202eeab1e50cc651163315981724b899a31 Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Wed, 9 May 2018 07:57:57 +0100 Subject: [PATCH] Add 'emulator' as an alias for 'emulators' It feels more nautral to type when doing `--launch x` or `--create x`. --- packages/flutter_tools/lib/src/commands/emulators.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/flutter_tools/lib/src/commands/emulators.dart b/packages/flutter_tools/lib/src/commands/emulators.dart index 6152c48bc2..8a961f1d3e 100644 --- a/packages/flutter_tools/lib/src/commands/emulators.dart +++ b/packages/flutter_tools/lib/src/commands/emulators.dart @@ -24,6 +24,9 @@ class EmulatorsCommand extends FlutterCommand { @override final String description = 'List and launch available emulators.'; + @override + final List aliases = ['emulator']; + @override Future runCommand() async { if (doctor.workflows.every((Workflow w) => !w.canListEmulators)) {