-
Notifications
You must be signed in to change notification settings - Fork 2
Task Managers
Task Managers are objects responsible for the task creation aganst a given "backend". They have to implement the ITaskManager interface and the assembly and it's dependencies has to dropped into the same folder as ct.exe.
At execution time it scans the directory for assemblies containgin ITaskManager types and invokes them.
So far I've written a two TaskManagers
This is in my implementation the default TaskManager. It adds a task to Microsoft Outlook via the Interop assemblies. I only have Microsoft Office 2013 on my machine so that's the only one I've tested it with, might be som bruken referenses for earlier versions.
Trello is a kanban-style board web application by the guys at FogsCreek. Playing around with personal kanban i felt the need to create "tasks" there to. So the Trello TaskManager uses the Trello REST API. It also needs a config file in the same directory as ct.exe by the name TrelloConfig.xml containg the following elements:
<TrelloConfig>
<idList>listid</idList>
<key>key</key>
<token>token</token>
</TrelloConfig>
The only way I found to use a token with write permissions is to update it every 24 h, so the app will ask the user for a new one when it expires.
Do you want to create your own TaskManager? Read more on how under Roll Your Own TaskManager