pimutils / todoman

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

pass arguments properly to invoke #436

Closed bernieke closed 3 years ago

bernieke commented 3 years ago

The arguments being passed to invoke weren't doing anything.

Now they are properly parsed, converted (sort as list, due as integer, ...) and passed to invoke.

Example from my config file:

default_command = "list --sort=due --due 168 --priority low --no-reverse tasks"

The arguments to list would be ignored without these changes.

WhyNotHugo commented 3 years ago

Looks good. I've added a tests based on your example. Once that runs fine, I'll go ahead and merge this.

Thanks!

WhyNotHugo commented 3 years ago

Thanks!