-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tldr: add --update
example
#744
Conversation
Well, it turned to be there are tons of tldr CLI clients And not all of them have this flag :( |
Mannn, why'd they all have to call themselves |
This is rather too bad but we never standardized clients, only this repository and how to interpret its contents. I don't even know which ones can be considered official and I've never used anything else except the Node.js client (official if any is). I wouldn't add it. |
I think the NodeJS one could be considered "official", as that's the one that tldr-pages' website tells you to install: https://tldr-pages.github.io/. |
The reason I'm not deciding here is because I abstained from the whole discussion on clients and which to consider official. I'd love to just consider that one official and have that flag in otherwise. |
This is clearly another reason for us to decide on a standard set of features we'd expect tldr (command line) clients to provide. @igorshubovych already started a page at https://github.com/tldr-pages/tldr/wiki/Minimum-specifications-for-TLDR-command-line-clients, but it needs some love. Shall we open an issue to track that discussion? |
This actually is a good way of enforcing a spec for a client, not only because it outlines the features we require, but also because it's in itself a tldr page. |
Great point, @Ostera -- the tldr page for tldr should indeed work as the minimum spec for tldr clients! So looking at it from this point of view, what other options would we want to be universal to all clients? I agree with |
@Ostera @waldyrious agree with you about However, |
Well, if we start reaching the maximum limit of examples (#686), we can remove --help, but for now it would be a good way to enforce it for all clients. It seems to fit better here (and in a more explicit way) than in the wiki page, which currently says "it should list supported features". The fact that just |
Thank you! |
tldr: added `--update` example
The
--update
flag in the tldr command is super useful, and I was really surprised it wasn't in the tldr page when I was trying to remember how to update the other day. Thus, I've added it here!