lord63 / tldr.py

A python client for tldr: simplified and community-driven man pages.
MIT License
186 stars 18 forks source link

Feature request: optional abbreviated output #26

Closed alpreu closed 6 years ago

alpreu commented 6 years ago

Hey, I think a great addition would be an option to abbreviate output. I for example never look at the description of the command. Also useful would be to omit the linebreak between the 'info' and the command like this and only keep the break to the next example:

  • Find files by extension:
    find {{root_path}} -name '{{*.ext}}'

  • Find files matching path pattern: ....

This is especially useful if you're using a smaller terminal window or a large lineheight.

lord63 commented 6 years ago

Hi, thanks for you suggestions, but I'm afraid that this feature request won't be accepted. Flexible means complicated, but I want to keep it as simple as possible for now.

However, you can find the source file and edit by yourself.

$ which tldr   # find the location you installed tldr.py
$ vim tldr/parser.py  # edit the parser file and adjust the output