registered method
The names read finds in the project's registry (e.g.
registeredLiveCommands), or none when Metro isn't running in a Flutter
project.
Implementation
List<String> registered(List<String> Function({String projectRoot}) read) {
try {
return read(projectRoot: project.root);
} on LiveCommandException {
return const [];
}
}