]> git.r.bdr.sh - rbdr/nota.nvim/blob - lua/tasks.lua
Add basic structure
[rbdr/nota.nvim] / lua / tasks.lua
1 -------------------------------------------------------------------------------
2 -- Tools to deal with tasks
3 -------------------------------------------------------------------------------
4 -------------------------------------------------------------------------------
5 -- Public Interface
6 -------------------------------------------------------------------------------
7
8 --- Toggles a task completion status
9 -- @param configuration tNotaConfiguration the plugin configuration
10 function toggle(configuration)
11 error("Not yet implemented")
12 end
13
14 --- Inserts a new task at the cursor location
15 -- @param configuration tNotaConfiguration the plugin configuration
16 function insert(configuration)
17 error("Not yet implemented")
18 end
19
20 --- Captures a new task into the inbox
21 -- @param configuration tNotaConfiguration the plugin configuration
22 function capture(configuration)
23 error("Not yet implemented")
24 end
25
26 --- Tag a task
27 -- @param configuration tNotaConfiguration the plugin configuration
28 function tag(configuration)
29 error("Not yet implemented")
30 end
31
32 --- Reschedule a task for today
33 -- @param configuration tNotaConfiguration the plugin configuration
34 function reschedule_for_today(configuration)
35 error("Not yet implemented")
36 end
37
38 --- Reschedule a task for tomorrow
39 -- @param configuration tNotaConfiguration the plugin configuration
40 function reschedule_for_tomorrow(configuration)
41 error("Not yet implemented")
42 end
43
44 --- Reschedule a task for someday
45 -- @param configuration tNotaConfiguration the plugin someday
46 function reschedule_for_someday(configuration)
47 error("Not yet implemented")
48 end
49
50 --- Reschedule a task for an arbitrary date
51 -- @param configuration tNotaConfiguration the plugin someday
52 function reschedule(configuration, new_date)
53 error("Not yet implemented")
54 end
55
56 -------------------------------------------------------------------------------
57 -- Internal Functions
58 -------------------------------------------------------------------------------
59