-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add the ability to use more types of manuals/cheatsheets #14
Comments
This sounds good, PR is welcome! |
It would be a great feature, and I think that I can work on this |
@anas-elgarhy assigned to you! |
thx @orhun. I took a look at the "commands suggestions" and I have a few things to say.
|
Or we can give the user an option to clone the pages repositories and use them offline if he prefers that (I prefer this personally) |
Fair point I would say. That would over complicate the usage of
Hmm, I'm not sure that would improve the tool. Is there any extra useful information on those pages that is not already provided by the man page or the cheatsheet?
I think that approach is also going to complicate the usage. However, we can gate it behind a feature flag and use the HTTP request if that feature is not enabled. It can be called "offline-mode" or something similar I reckon. My preference is to avoid using the filesystem so I would disable this feature as default. |
Not really, I think the only difference between them is the present way and the information order, at the end of the day the command is the same, but in eg case it's focusing on the examples of command usage
I actually agree with that
Fair point, but that'll add an overhead to the release process 'cause we'll need to ship another package with this feature enabled |
closes #14 Co-authored-by: Anas Elgarhy <anas.elgarhy.dev@gmail.com>
Is your feature request related to a problem? Please describe.
Sort of, in general it's just annoying to have to exit
halp
and type in the next command(s) manually.There are more manual pages and cheat sheets that are not directly covered by
halp
and it would be useful forhalp
to use more types. In #2 tldr is requested and there are similar things you can do with other commands, such as cheat, navi, command line interface pages, kb (kb would require extra work, so the config option wouldn't help much), and eg.Describe the solution you'd like
halp
should have the option to integrate at least some of these options. A simple configuration option would work for most of these, butkb
in particular would require more work.Describe alternatives you've considered
I could replace "man_command" in the config, but that removes the man functionality. Also, you can of course type it by hand but that defeats the purpose.
If you want, I can create a PR myself integrating some of these.
The text was updated successfully, but these errors were encountered: