Textualize / rich-cli

Rich-cli is a command line toolbox for fancy output in the terminal
https://www.textualize.io
MIT License
3.04k stars 75 forks source link

Add support for setting `--hyperlinks` via the `RICH_HYPERLINKS` environment variable #61

Open andelink opened 2 years ago

andelink commented 2 years ago

Small commit to allow setting --hyperlinks via the RICH_HYPERLINKS environment variable, so users can export this in their shell rc file and always have hyperlinks enabled.

Kapture 2022-07-31 at 09 26 11

Corresponding issue:

andelink commented 2 years ago

@willmcgugan here's the PR

andelink commented 2 years ago

Thanks @harkabeeparolus! Reason I bumped the version is to hopefully get a new release of the library, so I can install and begin using these changes 🙂

(Also, I don't have permissions to merge the changes since I don't have write access to the repo, so merging is in your hands.)

andelink commented 2 years ago

@harkabeeparolus would a patch version update be more welcome?

- version = "1.8.0"
+ version = "1.8.1"
harkabeeparolus commented 2 years ago

@harkabeeparolus would a patch version update be more welcome?

I wouldn't know, I'm just a random pythonista on GitHub — I don't have any commit access either. 😊 I just don't think I'd personally make a PR with an included version bump. Unless it was specifically about assisting the maintainers with a new release. But maybe that's just me. 🤔

(I do believe minor version would be appropriate from a Semantic Versioning perspective, since patch versions are supposed to be bugfixes without new features.)