A file-based task manager
1Add tool to clean up old tasks not in index
2
3Previously the `drop` command did not remove the symlink in .tsk/tasks when a
4task was dropped, only removing it from the index. I don't recall if this was
5because my original design expected the index to be the source of truth on
6whether a task was prioritized or not or if I simply forgot to add it. Either
7way, drop now properly removes the symlink but basically every existing
8workspace has a bunch of junk in it. I can write a simple script that deletes
9all symlinks that aren't present in the index.
10
11This does suggest that I should add a reindex command to add tasks that are not
12present in the index but are in the tasks folder to the index at the *bottom*,
13preserving the existing order of the index.
14
15
16How about just adding a `fixup` command that does this and reindex as laid out in
17[[tsk-18]].