cli + tui to publish to leaflet (wip) & manage tasks, notes & watch/read lists 馃崈
charm leaflet readability golang
at main 106 lines 2.0 kB view raw view rendered
1--- 2title: Advanced Task Features 3sidebar_label: Advanced 4description: Recurring tasks, dependencies, hierarchies, and custom fields. 5sidebar_position: 6 6--- 7 8# Advanced Task Features 9 10## Recurrence 11 12Create tasks that repeat on a schedule using iCalendar recurrence rules. 13 14**Daily task**: 15 16```sh 17noteleaf task add "Daily standup" --recur "FREQ=DAILY" 18``` 19 20**Weekly task on specific days**: 21 22```sh 23noteleaf task add "Team meeting" --recur "FREQ=WEEKLY;BYDAY=MO,WE" 24``` 25 26**Monthly task**: 27 28```sh 29noteleaf task add "Invoice review" --recur "FREQ=MONTHLY;BYMONTHDAY=1" 30``` 31 32**With end date**: 33 34```sh 35noteleaf task add "Q1 review" \ 36 --recur "FREQ=WEEKLY" \ 37 --until 2025-03-31 38``` 39 40**Manage recurrence**: 41 42Set recurrence on existing task: 43 44```sh 45noteleaf task recur set 1 --rule "FREQ=DAILY" 46``` 47 48View recurrence info: 49 50```sh 51noteleaf task recur show 1 52``` 53 54Remove recurrence: 55 56```sh 57noteleaf task recur clear 1 58``` 59 60When you complete a recurring task, Noteleaf automatically generates the next instance based on the recurrence rule. 61 62## Dependencies 63 64Create relationships where tasks must be completed in order. 65 66**Add dependency** (task 1 depends on task 2): 67 68```sh 69noteleaf task depend add 1 <uuid-of-task-2> 70``` 71 72**List dependencies** (what must be done first): 73 74```sh 75noteleaf task depend list 1 76``` 77 78**List blocked tasks** (what's waiting on this task): 79 80```sh 81noteleaf task depend blocked-by 1 82``` 83 84**Remove dependency**: 85 86```sh 87noteleaf task depend remove 1 <uuid-of-task-2> 88``` 89 90Dependencies use task UUIDs (shown in `task view`) rather than IDs for stability across database changes. 91 92## Hierarchical Tasks 93 94Create parent-child relationships for breaking down large tasks. 95 96**Create child task**: 97 98```sh 99noteleaf task add "Write API documentation" --parent <parent-uuid> 100``` 101 102Parent tasks can have multiple children, creating a tree structure for complex projects. 103 104## Custom Attributes 105 106While not exposed through specific flags, the database schema supports extending tasks with custom attributes for advanced use cases or scripting.