Add TODO.md, add tags field

master
Bel LaPointe 2021-12-31 16:31:44 -05:00
parent 8eb1123594
commit c1ed21ce19
4 changed files with 12 additions and 4 deletions

10
TODO.md Normal file
View File

@ -0,0 +1,10 @@
# Plain Text TODO
Goals
* YAML based todo
* because goddamnit a year of this shit isn't significant on disk or in RAM for vim
* ez edit on many platforms, even offline and mobile
* defer, schedule, looping, details
* let UI be UI and plaintext be plaintext, cause I dont use ledger.scratch.com
* tags

View File

@ -1,4 +0,0 @@
package main
func main() {
}

View File

@ -7,6 +7,7 @@ type Todo struct {
Detail string `yaml:",omitempty"`
TS TS `yaml:",omitempty"`
Schedule Schedule `yaml:",omitempty"`
Tags string `yaml:",omitempty"`
}
func (todo Todo) Triggered() bool {

View File

@ -4,6 +4,7 @@ todo:
my super long description
of stuff
ts: 111
tags: a,b
-
todo: task that appeared when 'when'
schedule: "* * * * *" # or ([0-9]*[a-z])+ for durations, or int for scheduled/deferred