Clement134/get-changelog

Make links clickable

brettz9 opened this issue · 4 comments

Looks like https://github.com/sindresorhus/terminal-link could help make links clickable for supported terminals... And/or an "open" argument to immediately open a single discovered link in the browser if available (at least for -m): https://github.com/sindresorhus/open

Btw, in your CLI usage and README, there is a reference to "npm check upgrades", but it sounds like you meant "npm-check-updates".

Thanks a lot!

Thanks for these suggestions 👍

If I understand you well, you prefer to have hyperlinks instead of the raw changelog urls. Perhaps, something like that?
changelog-hyperlinks

I can add an option (-o, --open) to automatically open the changelog url with the default browser, when used with a single module. I think it wil be too annoying to use it with multiple modules.

Well spotted for the typos, it will be fixed in the next release.

If I understand you well, you prefer to have hyperlinks instead of the raw changelog urls. Perhaps, something like that?

Yeah, that could work fine, though I'm actually ok with raw hyper links--just thought it'd be nice if they could also be clickable too though.

I can add an option (-o, --open) to automatically open the changelog url with the default browser, when used with a single module. I think it wil be too annoying to use it with multiple modules.

Yeah, that sounds great.

Well spotted for the typos, it will be fixed in the next release.

My pleasure--and thanks for the very useful project!

I have released version 1.1.0 with your suggestions.
Many thanks !

Wonderful, thank you!