2
0

Print the created task

This commit is contained in:
glax 2023-05-20 00:37:10 +02:00
parent 3f72e527fa
commit 854bb71771

View File

@ -55,8 +55,8 @@ public static class Tranga_Cli
if(task != TrangaTask.Task.UpdatePublications)
publication = SelectPublication(connector);
TimeSpan reoccurrence = SelectReoccurrence();
taskManager.AddTask(task, connector.name, publication, reoccurrence, "en");
Console.WriteLine($"{task} - {reoccurrence} - {publication?.sortName} - {connector.name}");
TrangaTask newTask = taskManager.AddTask(task, connector.name, publication, reoccurrence, "en");
Console.WriteLine(newTask);
Console.WriteLine("Press any key.");
Console.ReadKey();
menu = 0;