-
Notifications
You must be signed in to change notification settings - Fork 0
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 a help command #3
Conversation
Add a help command * RobertAudi/help-command: Add a help command
@RobertAudi: that's a great addition! Nice to see that it's easily extensible as well. Thank you very much =) |
Released v1.2.0 with the |
@joelpurra You are welcome 👍 I also wanted to generate a man page from the It might be better to use something like groff (which comes with OS X and probably some Linux distros) and automate the generation with a Makefile. But that would mean that the help/manpage will need to be writter in a format supported by groff... Unless you don't mind having a ruby gem as development dependency. |
@RobertAudi: It'd be sweet to have a man page! Can you add it? Ruby with md2man isn't a trivial dependency as I'm not sure which platforms people use I'm using By the way -- brew is written in ruby and also knows about ruby gems, so maybe it's a trivial dependency for brew? |
I am a homebrew user but I am not sure about recipes creation. However I just got an idea. We could generate a manpage using a pre-commit git hook and commit the thing. I don't see what's wrong with committing it even if it's generated since it's not specific to the environment of a user. Also, as I said before, I don't think a set of development dependencies would be a problem. Regular users won't need them. |
@RobertAudi: sure, that'd be convenient -- if the pre-commit hook doesn't crash for developers who don't have all dependencies. If they changed |
@joelpurra The pre-commit hook is just a shell script. So we can check if all the deps are present. |
@RobertAudi: see #4! |
Add a help command along with help files. Usage: