Commit graph

9 commits

Author SHA1 Message Date
ada7812e3b Parent/Child assignment & fetching refactor
- TodoObject.get_children accepts an obj_type to filter by
- Todo._get_parent accepts an obj_type to filter potential parents
- Todo._parse_category now properly assigns parent categories
- Reworked get_* methods in Task, Category, and Note to use get_children
2021-09-25 23:26:16 -04:00
e768dae978 Add \t support to parsing. 2021-09-25 20:16:08 -04:00
a696392560 Fix get_md() and parent assignments.
- now properly outputs category spacing in get_md()
  - removed task_spacing and note_spacing, may return later.
- fixed parent assignment, now iterates through the reversed children
  list.
  - this finds the closest parent.
- TodoObject now properly returns output with get_children()
2021-09-25 19:47:55 -04:00
7c32804575 Merge branch 'main' of ssh.gitdab.com:InValidFire/todo 2021-09-25 18:47:16 -04:00
cb322bd0d4 update README.md and todo.md 2021-09-25 18:46:50 -04:00
6df8c6d11c update README.md 2021-09-25 18:35:46 -04:00
6a1ac46b59 update todo.md 2021-09-25 18:34:24 -04:00
42067eb4f5 Add LICENSE 2021-09-25 18:28:49 -04:00
e917bea322 Initial Commit 2021-09-25 17:39:27 -04:00