GothenburgBitFactory / tasklib

A Python library for interacting with taskwarrior databases.
http://tasklib.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
146 stars 27 forks source link

Add support for custom `task` location or command #63

Closed robgolding closed 5 years ago

robgolding commented 5 years ago

Thanks @xarthurx for proposing WSL support in #62. This commit adds support in a different way, by allowing the "task" command to be customised (to wsl task, for example).

xarthurx commented 5 years ago

@robgolding is this PR done? I'm a bit busy this week but will give it a run during weekends if it is done.

robgolding commented 5 years ago

The tests have failed here but only because wsl isn't present on CI—I'll need to figure out a way around that. It should be ready to give this a go locally @xarthurx!

robgolding commented 5 years ago

@xarthurx OK, I switched to using TASKRC env var. Can you give this another go?

xarthurx commented 5 years ago

@robgolding This works fine! :)

robgolding commented 5 years ago

Great, thanks @xarthurx. In that case since CI is now passing I'll get this merged and release a new version. Thanks again for the help with this!