act method
Performs the action against the platform service manager.
Implementation
@override
Future<void> act(svc.DartServiceManager manager, String role) async {
final svc.ServiceInfo info;
try {
info = await manager.describe(servicePackage, role);
} on svc.ServiceNotFoundException {
stdout.writeln('$role: not installed');
return;
}
stdout.write(_formatServiceInfo(role, info));
}