Closed onovy closed 6 years ago
I'm afraid that this feature won't be accepted. You can set an alias for tldr find
, eg:
➜ tldr.py git:(master) ✗ alias tldrf='tldr find'
➜ tldr.py git:(master) ✗ tldrf find
# the output
See the related issues #27
Your arguments:
Which is not in collision with my suggestion. What i suggest is to support both:
tldr find tar AND tldr tar
So if first (and only) argument is not valid command (rebuild, find, reindex, update) set "find" as default command and use first argument as page name (find argument).
it's a break change and I don't want to introduce it;
that's because he suggest the argument style interface, which is a break change.
So if first (and only) argument is not valid command (rebuild, find, reindex, update) set "find" as default command and use first argument as page name (find argument).
If I choose this way, when I type tldr locate
, I may want to find the locate
usage, not the subcommand usage. Also, as this project growing, I may introduce more subcommands and may be conflict with those existed man pages. In my opinion, this is a if-else detection, but user don't have to know this. So, still prefer the current implementation.
Hi,
It would be nice if "find" can be default command and can be omitted.
So this:
will show page for 'tar'.
Thanks.