Submitted by orhunp t3_11pc3s3 in coolgithubprojects
Comments
orhunp OP t1_jbykkix wrote
Not quite.
> If you deal with command-line tools often, it might take some time to figure out how to get help or check the version of a particular command (especially when shell completions are not available). In that case, you might try the most-known flags such as -h
and -v
but unfortunately not all the command-line tools follow these conventions (either due to conflicts with other flags or they just use another form). Instead of brute-forcing manually into getting help, you can run halp <command>
and it will check the common arguments by running the command and checking the exit code.
orhunp OP t1_jbx1gd3 wrote
halp
aims to help find the correct arguments for command-line tools by checking the predefined list of commonly used options/flags. Additionally, it provides a prompt for quick access to the manual page or cheat sheet of the given command.
GitHub: https://github.com/orhun/halp
Educational_Ice151 t1_jc0515n wrote
This looks awesome!
Shared to r/aipromptprogramming
orhunp OP t1_jc1hqny wrote
Thx! :3
sparr t1_jby7vh6 wrote
What I'd be looking for out of a program like this would be for it to figure out whether to use man or info or -h or -? Or --help or no option or ...
LuvPastelPink t1_jbyntw7 wrote
How is it better than tealdeer?
povlov0987 t1_jc31it0 wrote
I need to provide a key?
Bloxxy213 t1_jbxw7fm wrote
So, like man?