jschlatow / taskopen

Tool for taking notes and open urls with taskwarrior
GNU General Public License v2.0
364 stars 31 forks source link

Support user defined attributes #78

Closed kostajh closed 11 years ago

kostajh commented 11 years ago

I have a UDA for "URL" that's a string. It would be nice if "task open [task_id]" could be configured to either (1) use a given UDA (in this case, "url") when called or (2) to search through the UDAs for a task and prompt the user to open any valid entries.

Knowing no Perl, this feature request will not be completed by me :), just putting the idea out there.

jschlatow commented 11 years ago

I like your idea and even better: I think it'll be quite easy to implement ;)

kostajh commented 11 years ago

Cool, I look forward to testing!

jschlatow commented 11 years ago

You can give it a try by adding TASK_ATTRIBUTES=url to your ~/.taskopenrc, which then allows you to use $TASK_URL within a custom command or with -x.

Take a look at the man pages for further documentation.