tldr-pages / tldr-python-client

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

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

Closed owenvoke closed 5 months ago

owenvoke commented 9 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 9 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 9 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 8 months ago

Hi, any updates on this?

kbdharun commented 5 months ago

Completed in #246