-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Issues on Windows #52
Comments
2nd. Because it shows command for your platform, and there is no command on Windows. To look for command on Windows try:
If you need to check Linux commands all the time you can put this line in your .tldrrc config JSON file: {
"platform": "linux"
} |
@igorshubovych got it. But... why can I do |
Hey @matteocontrini - Windows does not have But commands under Closing this issue now. Please feel free to let me know if you have further questions. |
I think we should (1) consider covering windows commands (see tldr-pages/tldr#1070 (comment)); (2) require every client to either support the |
(1) - Totally. Though we need a Windows open-source enthusiast for it 😉 (2) - The behavior of the node client is to look for the command in the platform specific folder first, and if not found, look in the common folder. I think this is the correct logic. In OP's case, If you are suggesting that after looking at common, then the platform folder, if nothing is found, the client should look at other folders, I think this will lead to ambiguous behavior. In case, the command exists inside both However, I agree that the error message can be improved by saying that "There is no page for your current platform. But the command exists for other platforms, please pass the |
Yes, (2) had two options and I agree that the second one you mention (first in my comment above, albeit less detailed) is the one that makes more sense. |
Great. I will create a separate issue to track better error messages. |
Ok. I've also added |
Hi,
I'm trying to use the client on Windows (10) and I'm having some issues:
1) What should
tldr --list
show?My output is
Cache last updated [...date...]
and then 3 empty lines2) Why doesn't
tldr shutdown
work?The output I get is
I've already tried cleaning cache and updating, and in the cache folder (
C:\Users\Matteo\.tldr\cache\pages\linux
), theshutdown.md
file exists.Other commands like
tldr tar
work.The text was updated successfully, but these errors were encountered: