liveBuiltInCommands top-level property

Map<String, Future<void> Function(List<String>)> liveBuiltInCommands
final

The top-level metro live:* commands, keyed by command name.

Everything that acts on the app runs through metro live:run <name>.

Implementation

final Map<String, Future<void> Function(List<String>)> liveBuiltInCommands = {
  'live': _runLiveShell,
  'live:devices': (args) => _LiveDevicesCommand(args).run(),
  'live:status': (args) => _LiveStatusCommand(args).run(),
  'live:run': _runLiveRunCommand,
};