pimutils / todoman

✅ A simple, standards-based, cli todo (aka: task) manager.
https://todoman.readthedocs.io
ISC License
483 stars 78 forks source link

Hide tasks (by default) until its `start` date(time) has passed #424

Open mathstuf opened 3 years ago

mathstuf commented 3 years ago

Tasks with a start date should be hidden until then. A new option like --ignore-start or something would be nice to be able to continue showing them if needed.

WhyNotHugo commented 3 years ago

I think you need --startable. From todo list --help:

  --startable               Show only todos which should can be started today
                            (i.e.: start time is not in the future).
mathstuf commented 3 years ago

Thanks. Is there a way to bind this as a default flag for the arg-less todo command?

WhyNotHugo commented 3 years ago

You should be able to by adding this to your config file:

default_command = list --startable

However, I noticed a breakage there, and that won't break on the current release. I'll try to address this during this week.

mathstuf commented 3 years ago

Ah, thanks. Looking at the repo, I see confspec.in, but no mention of that in the docs anywhere which is why I guess I didn't notice that it was an available configuration knob.

WhyNotHugo commented 3 years ago

Breakage has been fixed, but this is still no clearly documented.