todoman icon indicating copy to clipboard operation
todoman copied to clipboard

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

Open mathstuf opened this issue 4 years ago • 5 comments
trafficstars

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.

mathstuf avatar Feb 02 '21 00:02 mathstuf

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).

WhyNotHugo avatar Feb 02 '21 13:02 WhyNotHugo

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

mathstuf avatar Feb 03 '21 18:02 mathstuf

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.

WhyNotHugo avatar Feb 09 '21 13:02 WhyNotHugo

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.

mathstuf avatar Feb 09 '21 13:02 mathstuf

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

WhyNotHugo avatar May 24 '21 19:05 WhyNotHugo