executeProjectUpdate function
Implementation
Future<bool> executeProjectUpdate(
Map<String, dynamic> upperJson, {
required String path,
}) {
return getUpperProjectFromMap(upperJson).fold(
(l) async {
print(l);
return false;
},
(upperJson) async {
return await updateGrpcServer(
upperJson,
path: path,
) &&
await updateDockerFile(
upperJson.portNumer,
path: path,
) &&
await updateServices(
upperJson,
path: path,
);
},
);
}