-
Notifications
You must be signed in to change notification settings - Fork 126
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
Support multiple args #74
Comments
Are there already any tldr pages for subcommands like that? I haven't found any. If you want such a feature, you should probably open an issue at the main project. If they start supporting subcommands, then I'd be willing to add support for them 🙂 |
It came from tldr-pages/tldr#2699 - the node.js and bash clients support it, and upstream says its a client feature to coerce "git checkout" to git-checkout |
Specifically, they are thinking of adding it to the client spec tldr-pages/tldr#2699 (comment) |
Oh, it appears that I looked in the wrong location and didn't see all those git subcommands among the tldr pages, sorry! Thanks for the two links, in that case I think this is a valid feature request 🙂 I don't have time to implement it at the moment, but pull requests are welcome. Should be quite straightforward to implement, the main thing is figuring out how docopt handles variable arguments. Probably something like If it makes things easier, I'd also be open for moving to |
I wouldn't mind a move to clap if it improved the performance of tealdeer, though I'm not sure if it would. |
I don't think clap would affect performance a lot, but it does bring more flexibility. But Docopt is really nice too. |
It might actually be faster o_O BurntSushi/ripgrep#233 |
Especially for pages with subcommands, i.e.
tldr git checkout
would be greatThe text was updated successfully, but these errors were encountered: