tldr-pages / tldr-python-client

Python command-line client for tldr pages
https://pypi.org/project/tldr/
MIT License
592 stars 92 forks source link

feat: add BSD and macos platforms to `--platform` option #236

Closed owenvoke closed 1 month ago

owenvoke commented 5 months ago

Closes https://github.com/tldr-pages/tldr-python-client/issues/234 and closes https://github.com/tldr-pages/tldr-python-client/issues/235

acuteenvy commented 5 months ago

This doesn't work, because macos is not a directory. tldr --platform macos <page_name> always prints "documentation is not available".

There's also android, which isn't on the list here.

owenvoke commented 5 months ago

Ah, so we need to actually alias it. Will mark this as draft and work on the required changes.

I'll add Android as well. I feel like it's a bit redundant duplicating the platforms here though, so perhaps we can extract to a variable or something.

kbdharun commented 5 months ago

Hi, any updates on this?

kbdharun commented 1 month ago

Completed in #246