Skip to main content

Module tasks

Module tasks 

Source
Expand description

Tasks, notes, links and focus from the terminal: the next step and why, the list, the board, the timeline; adding a task in one line; importing a whole plan from a file (for agents and scripts); following links.

StructsΒ§

Desk πŸ”’
Tasks, the plan and the day, read once.
ImportContact πŸ”’
ImportDraft πŸ”’
ImportEvent πŸ”’
An appointment: an event in a calendar, never a task.
ImportTask πŸ”’
Plan_ πŸ”’
A file to import: tasks, contacts and drafts, each with a key of its own (docs/tasks.md, β€œImporting”). Keys make UIDs stable: importing again updates what the file made instead of adding it twice.

EnumsΒ§

FocusCommand πŸ”’
TasksCommand πŸ”’

ConstantsΒ§

ONLY_EVENTS πŸ”’
What a task in an import never has, an appointment does: met in a [[task]], the import asks which it is instead of guessing.

FunctionsΒ§

add πŸ”’
blocks_of πŸ”’
The time blocks of the task uid that can be changed (blocks::TASK).
board πŸ”’
draft_id πŸ”’
A draft’s id holds letters and digits only (Draft::by_id).
event_file πŸ”’
The file of the event with this UID, in any calendar.
focus πŸ”’
import πŸ”’
import_events πŸ”’
The file’s appointments written: new ones in their calendar, known ones changed line by line, one imported before as a task made the event (the task and its blocks taken out, never both, never neither). The calendars touched, β€œaccount/id”.
links_command πŸ”’
What a thing is tied to, both ways.
list πŸ”’
lists πŸ”’
new_list πŸ”’
not_now πŸ”’
notes_command πŸ”’
Notes of the notes folder: those matching, or one in full with its links back.
now πŸ”’
print_card πŸ”’
run πŸ”’
set_status πŸ”’
set_weather πŸ”’
settings πŸ”’
The room for tasks: your hours, each kind for its own tasks, less the events of the coming four weeks and the blocks tasks are pinned to; today’s from now, scaled by the weather.
show πŸ”’
sync_list πŸ”’
target_list πŸ”’
The list a new task goes into: the one named (β€œaccount/id”), else the first made for tasks.
timeline πŸ”’
uid_of πŸ”’
A key as a UID: the prefix, then the key.
write_task πŸ”’