Closed nkahe closed 7 years ago
Thank you for you suggestions. As you said, if we choose tldr COMMAND
, in most use cases, it is shorter and easy to type. Actually, when I choose a subcommand, I also want to pick a short and easy-remember name.
But I'm afraid that I won't switch to this behaviour, because:
This is a good client but following CLI syntax would IMO be an improvement. Note: COMMAND refers to which command's tldr page user wants find.
So any argument that's not an option would be considered as a command user wants to find. Advantages: for majority of time I strongly suspect user wants to find a command's tldr page. This syntax is streamlined, shorter and more predictable (to guess/remember without reading help): instead of 'tldr find ls', 'tldr find ssh', 'tldr find tar' you can use 'tldr ls', 'tldr ssh', 'tldr tar'. Other functions than finding tldr page are much less used so they could be used as options like above. For example: rebuild index: 'tldr --rebuild' or 'tldr -r'.