Comments

You must log in or register to comment.

Bloxxy213 t1_jbxw7fm wrote

So, like man?

4

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.

5

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

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 ...

1

povlov0987 t1_jc31it0 wrote

I need to provide a key?

1