Tldr

Latest version: v3.2.0

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

Scan your dependencies

Page 2 of 4

1.1.0

Features

* Add autocomplete and `--list` command (thanks [wcheang](https://github.com/wcheang))
* Always fall back to English for LANG / LANGUAGE env vars (thanks [columbarius](https://github.com/columbarius))

Fixes

* Exit with code `1` when command not found (thanks [samuel-w](https://github.com/samuel-w))
* Check that cache directory exists on platform before using it

1.0.0

Features

* __breaking__ Drop support for Python 2 and Python 3.4
* __breaking__ Rename environment variable `TLDR_REMOTE_SOURCE` to `TLDR_SOURCE`
* __breaking__ Remove ability to print out multiple pages at the same time
* __breaking__ Make `--update` act the same as `--download_cache`, remove ability to only update currently cached pages
* __breaking__ Remove `--download_cache` flag (redundant to `--update`)
* __breaking__ Remove printing of tldr page to console width, and remove any ability to paint blank lines (see [98](https://github.com/tldr-pages/tldr-python-client/pull/98) for more info)
* Verify if colors specified via environment variables are valid, fallback to default if not
* Set `User-Agent` header for urlopen requests
* Allow specifying endpoints for pages and cache via environment variables
* Explicitly state support for Python 3.8
* Use default terminal colors instead of always white for printing text
* Catch KeyboardInterrupt exception to display appropriate message
* Add ability to disable SSL inspection
* Add `--version` flag to cli to print out cli version and supported client specification
* Move to using `long_description` and `long_description_content_type` to handle markdown README in setup.py
* Add support for handling pages in other languages
* Remove symlink script in-favor of entry_points again
* Narrow top-level catch-all exception to only catch urllib exceptions

Fixes

* Handle using `file://` as remote source for pulling pages
* Improve handling of environment variable colors to not be order specific of options

Chores

* Update LICENSE to LICENSE.md
* Move to GitHub actions from Travis-CI
* Use flake8 to lint codebase

0.5.0

Features

* Changed `--os` flag to `--platform` to conform to client specification
* Add windows as available platform to search for for `--platform` option
* Add `--render` flag to parse local markdown files
* Add `--download_cache` flag to pull down entire TLDR cache
* Explicitly state support for Python 3.7
* Print errors to `sys.stderr` and use non-zero exit code

Fixes

* Use newer raw github path to fetch pages
* Detect windows as current platform from sys.platform

0.4.4

Fixes

* Fix using http to fetch pages in 0.4.3, use https again
* Fix the cli options always using their default values
* Fix typo in parameter name in function definition

0.4.3

Features

* Add `--source` option to control where to fetch page
* Add support for space separated commands, fallback to showing multiple pages if concatenated name does not exist
* Add `--color` option to toggle whether to strip colors or not.

0.4.2

Fixes

* Use https for fetching pages
* Use symlink over entry points for package installation

Chores

* Add description of cache location to README

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.