diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..75c4e81 --- /dev/null +++ b/TODO.md @@ -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 diff --git a/main.go b/main.go deleted file mode 100644 index da29a2c..0000000 --- a/main.go +++ /dev/null @@ -1,4 +0,0 @@ -package main - -func main() { -} diff --git a/pttodo/todo.go b/pttodo/todo.go index bede663..6144c09 100644 --- a/pttodo/todo.go +++ b/pttodo/todo.go @@ -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 { diff --git a/sample.yaml b/sample.yaml index fa04a8b..c4950a5 100644 --- a/sample.yaml +++ b/sample.yaml @@ -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