tldr-pages / tldr-python-client

:snake: Python command-line client for tldr pages 📚
https://pypi.org/project/tldr/
MIT License
599 stars 95 forks source link

Improve page resolution strategy to be more inline with spec #92

Closed MasterOdin closed 4 years ago

MasterOdin commented 4 years ago

Closes #75

This change does two things in the name of better following the [client specification for page resolution]https://github.com/tldr-pages/tldr/blob/master/CLIENT-SPECIFICATION.md#page-resolution)(:

  1. Gets rid of the weird ambigious parsing issues from #75 (how should git grep get parsed? git and grep or git-grep?)
  2. Will now search through all supported platforms if no platform is specified instead of only the current platform + common.
zlatanvasovic commented 4 years ago

I'll test this soon.