Rich-click

Latest version: v1.8.3

Safety actively analyzes 642283 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

1.5.1

- Updated pip release build CI [[78](https://github.com/ewels/rich-click/pull/78)]
- Added missed occurence of return values when `standalone_mode` set [[79](https://github.com/ewels/rich-click/pull/79)]

1.5.0

- Add new `FORCE_TERMINAL` config flag to force colours even when help output is piped
- Can also be enabled by setting environment variables `GITHUB_ACTIONS`, `FORCE_COLOR` or `PY_COLORS`
- Add new `OPTION_ENVVAR_FIRST` config flag to print environment variables before option help texts instead of after (nice for alignment if all options have an env var).
- Refactor config flag `MAX_WIDTH` to set the console `width` and not individual panels
- Can now also be set with environment variable `TERMINAL_WIDTH`
- Fix package syntax in `setup.py` for `py.typed` [[75](https://github.com/ewels/rich-click/pull/75)]
- Fix printing of return values when `standalone_mode` set [[76](https://github.com/ewels/rich-click/pull/76)]

1.4.0

- Added support for styling the tables that options and commands are displayed in [[69](https://github.com/ewels/rich-click/issues/69)]
- Fixed `AttributeError` from `envvar` code in some Typer usage [[70](https://github.com/ewels/rich-click/pull/70)]

1.3.2

- Fix missed indentation issue in subcommand help text with `inspect.cleandoc` [[67](https://github.com/ewels/rich-click/pull/67)]
- Add support for showing Click / Typer `envvar` environment variables [[36](https://github.com/ewels/rich-click/issues/36)]

1.3.1

- Bumped minimum version of `rich` from `10` to `10.7.0` (when `Group` was introduced)
- Refactored CLI's patching functionality to support `from rich_click.cli import patch` [[53](https://github.com/ewels/rich-click/issues/53)]
- Make `_make_rich_rext` remove text indentations using `inspect.cleandoc` [[55](https://github.com/ewels/rich-click/issues/55)]
- Import `rich_click` into main namespace for Pylance [[64](https://github.com/ewels/rich-click/issues/64)]
- Add support of new click `hidden` command parameter [[62](https://github.com/ewels/rich-click/pull/62)]
- Don't show Typer positional arguments unless `SHOW_ARGUMENTS` is specified [[59](https://github.com/ewels/rich-click/issues/59)]
- Fix `\f` escape marker for new versions of Click, including in markdown [[60](https://github.com/ewels/rich-click/issues/60)]
- New config option `STYLE_COMMANDS_TABLE_COLUMN_WIDTH_RATIO` to fix column widths across groups [[119](https://github.com/ewels/rich-click/issues/119)]

1.3.0

- Added initial support for [Typer](https://typer.tiangolo.com/) [[#26](https://github.com/ewels/rich-click/pull/26)]
- Mark PEP 561 Compatibility [[41](https://github.com/ewels/rich-click/pull/41)]
- Distribution now available via MacPorts [[42](https://github.com/ewels/rich-click/pull/42)]
- Add typing information [[39](https://github.com/ewels/rich-click/pull/39)]
- Refactor `RichCommand` and `RichGroup` out of `rich_click` [[38](https://github.com/ewels/rich-click/pull/39)]
- Change metavar overflow to `fold`, so that large numbers of choices flow onto new lines instead of being truncated with an ellipsis [[33](https://github.com/ewels/rich-click/issues/33)]
- Make metavar separators dim (`[]`,`<>`) (customise with `STYLE_METAVAR_SEPARATOR`)
- Add pre-commit config and a lot more linters (iSort, mypy, Flake8) [[40](https://github.com/ewels/rich-click/pull/40)]
- Monkey-patch `RichCommand` and `RichGroup` in CLI code for better `rich-click` compatibility with more tools [[43](https://github.com/ewels/rich-click/pull/43)]
- Parse emoji shortcodes `:partying_face:` [[51](https://github.com/ewels/rich-click/pull/51)]
- Pushed minimum version of Python up to 3.7, in line with [Click v8.1](https://click.palletsprojects.com/en/8.1.x/changes/#version-8-1-0)
- Fixed bug where `--no-myflag` wasn't showing in the help [[45](https://github.com/ewels/rich-click/issues/45)]

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.