Add TODO.md, add tags field
parent
8eb1123594
commit
c1ed21ce19
|
|
@ -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
|
||||||
|
|
@ -7,6 +7,7 @@ type Todo struct {
|
||||||
Detail string `yaml:",omitempty"`
|
Detail string `yaml:",omitempty"`
|
||||||
TS TS `yaml:",omitempty"`
|
TS TS `yaml:",omitempty"`
|
||||||
Schedule Schedule `yaml:",omitempty"`
|
Schedule Schedule `yaml:",omitempty"`
|
||||||
|
Tags string `yaml:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (todo Todo) Triggered() bool {
|
func (todo Todo) Triggered() bool {
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ todo:
|
||||||
my super long description
|
my super long description
|
||||||
of stuff
|
of stuff
|
||||||
ts: 111
|
ts: 111
|
||||||
|
tags: a,b
|
||||||
-
|
-
|
||||||
todo: task that appeared when 'when'
|
todo: task that appeared when 'when'
|
||||||
schedule: "* * * * *" # or ([0-9]*[a-z])+ for durations, or int for scheduled/deferred
|
schedule: "* * * * *" # or ([0-9]*[a-z])+ for durations, or int for scheduled/deferred
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue