nocejo / trev

Taskwarrior tasks reviewing script
Other
14 stars 1 forks source link

.rc option: taskrc-overrides #24

Open linuxcaffe opened 10 years ago

linuxcaffe commented 10 years ago

Using .taskrc-overrides is common for taskwarrior, and it's possible to change anything on the fly, or in a script, using task rc.= can do.. anything.

Configuring trev, several configuration options will be .taskrc overrides, so it makes sense to establish which .trevrc options are basically just passed on as .taskrc options, so, how about using a prepended "taskrc.", something like:

taskrc.journal.info=off
taskrc.journal.time=on
taskrc.default.command=list

that way, a user can pass any option to task, even the ones we never thought of using.