Print the created task
This commit is contained in:
parent
3f72e527fa
commit
854bb71771
@ -55,8 +55,8 @@ public static class Tranga_Cli
|
|||||||
if(task != TrangaTask.Task.UpdatePublications)
|
if(task != TrangaTask.Task.UpdatePublications)
|
||||||
publication = SelectPublication(connector);
|
publication = SelectPublication(connector);
|
||||||
TimeSpan reoccurrence = SelectReoccurrence();
|
TimeSpan reoccurrence = SelectReoccurrence();
|
||||||
taskManager.AddTask(task, connector.name, publication, reoccurrence, "en");
|
TrangaTask newTask = taskManager.AddTask(task, connector.name, publication, reoccurrence, "en");
|
||||||
Console.WriteLine($"{task} - {reoccurrence} - {publication?.sortName} - {connector.name}");
|
Console.WriteLine(newTask);
|
||||||
Console.WriteLine("Press any key.");
|
Console.WriteLine("Press any key.");
|
||||||
Console.ReadKey();
|
Console.ReadKey();
|
||||||
menu = 0;
|
menu = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user