This commit is contained in:
leedongmyung[desktop] 2023-11-16 20:44:21 +09:00
parent 9604d509c0
commit cb52d52c74

View file

@ -72,7 +72,8 @@ class Application {
_jenkinsData = DataJenkins.fromJson(jenkinsMap!);
var content = await getBuildData();
await composeANSIPrint(content, Color.green);
// await composeANSIPrint(content, Color.green);
await CLI.printString(CLI.style(content, color: Color.green));
buildMap = getMapFromYaml(content);
break;
@ -85,6 +86,7 @@ class Application {
break;
}
return;
await execute(buildMap!);
}
@ -92,7 +94,9 @@ class Application {
var list = value.split('\n');
List<String> listNew = [];
for (var item in list) {
listNew.add(CLI.style(item, color: color));
var msg = CLI.style(item, color: color);
listNew.add(item);
print(msg);
}
await CLI.print(listNew);
return simpleFuture;