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