2
0

CLI: When listing Task add headers for values

This commit is contained in:
glax 2023-05-20 16:27:30 +02:00
parent 086d72565a
commit 67f3695be8

View File

@ -149,6 +149,7 @@ public static class Tranga_Cli
Console.Clear();
int tIndex = 0;
Console.WriteLine($"Tasks (Running/Queue/Total): {taskRunningCount}/{taskEnqueuedCount}/{taskCount}");
Console.WriteLine($"{"",-5}{"Task",-20} {"Last Executed",-20} {"Reoccurrence",-12} {"State",-10} {"Connector",-15} Publication/Manga");
foreach(TrangaTask trangaTask in tasks)
Console.WriteLine($"{tIndex++:000}: {trangaTask}");
}