todoman
todoman copied to clipboard
"todo open" command to open a task on the web
it would be great if there was something like a "todo open" command that accessed the URL property of a vTODO (if set) and opened it, e.g. with sensible-browser.
Makes sense to me. Is there any standard cli command we can call that'll reliably use to summon a browser?
I was convinced that open
was a standard cli way of doing this, but apparently it's just an alias I set for myself six years ago.
Maybe $BROWSER
?
The webbrowser module (part of Python itself) can be used to open URLs; it obeys $BROWSER, but in the absence of that will try various other browsers.
Huh. Perfect! Makes perfect sense to me. Sounds like a nice and easy enhancement!