Tldr Python Client Versions Save

Python command-line client for tldr pages

3.2.0

1 year ago

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

2 years ago

Features

Bugfixes

  • Command names are lowercased before searching for page
  • Fix color printing for tokens that end with curly braces

3.0.0

2 years ago

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

2 years ago

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

3 years ago

Fixes

  • Fallback to using linux as platform if no pages folder found for current platform

1.2.0

3 years ago

Features

  • Set --help usage line to match node client (#149)
  • Get remote resource only after all cache failed (#151) (thanks @ramwin)

1.1.0

3 years ago
  • 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