Releases: tldr-pages/tldr-python-client
Releases · tldr-pages/tldr-python-client
3.2.0
Bugfixes
- Fix forcing color through termcolor
- Change non-word regex to be POSIX compliant (thanks @stevejbrown)
- Update pages source to use the main branch
- Add a timeout to the URL requests (thanks @Jaimepas77)
3.1.0
Features
- Add
--search
option to find tldr pages based on keywords (thanks @gotlougit) - Specify support for v1.5 of the tldr client specification
Bugfixes
- Command names are lowercased before searching for page
- Fix color printing for tokens that end with curly braces
3.0.0
We have moved from argcomplete to shtab for
providing shell completions. This library is more efficient on doing tab completion, avoiding costly time it takes for the python
intrepreter to parse tldr to get options.
See Readme#autocomplete for details on setting up shtab. Please
see the argcomplete README for details on where to look to remove its provided completions.
Features
- breaking Move to shtab for tab completion support (thanks @casperdcl)
- Change default max cache age from 1 day to 7 days, can get prior behavior by setting the
TLDR_CACHE_MAX_AGE
environment variable - Install manpage in pypi package
- Add option to print raw markdown (thanks @dadav)
- Support Python 3.10
2.0.0
Features
- breaking Drop support for Python 3.5 (thanks @nebnola)
- Allow overriding system language using
TLDR_LANGUAGE
environment variable (thanks @nebnola)
Fixes
- Improve wording of missing page error message (thanks @CleanMachine1)
1.2.1
Fixes
- Fallback to using linux as platform if no pages folder found for current platform
1.2.0
1.1.0
- Add autocomplete and
--list
command (thanks @wcheang) - Exit with code
1
when command not found (thanks @samuel-w) - Always fall back to English for LANG / LANGUAGE env vars (thanks @columbarius)
- Check that cache directory exists on platform before using it