pimutils / todoman

✅ A simple, standards-based, cli todo (aka: task) manager.

Home Page:https://todoman.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rethink flushing

WhyNotHugo opened this issue · comments

commented

Flushing deletes all completed todos.

For my shopping list, this is fine, but for list of tasks, I prefer to keep a history, even if not indefinitely.

Maybe flush should explicitly take a collection as input?

It's also annoying that the sequential ids also count completed tasks. Most of my tasks are three digits, but I rarely have 100 pending tasks. Perhaps completed tasks should have a different ID sequence? This might be a problem since the ID changes on completion and undoing becomes non-trivial.

Leaving this issue open for future thoughts before working on this.