-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
How do I validate a commit message using the executable instead of CaptainHook? #57
Comments
How would a If you want to type in the commit message when you validate it, I think the |
Hmm... Yes, the commit message could come in via stdin. I must have missed that capability of |
I am not able to find anything relevant in the
|
When you run the command, it walks the user through the prompts to create the commit message. The user enters each part of the message, which is validated. |
Ah, that's not what I mean. I wanted to replicate the functionality provided by the |
In other words, what I am looking for is a way where I can pass a commit message string to |
I think I understand now. You would like to be able to pipe a message to a There's currently no way to do this with the CLI, and I'm open to a PR for this. 😄 |
Awesome and thanks for the discussion. I'll work on a PR in the coming days. |
How do I validate a commit message using the executable instead of CaptainHook?
While working on #40, I realized that even if there is a PHAR, I can't use it to actually validate a commit message. These are the only commands I see on the executable and none of them help in validating a message.
I think there is a place for a new command
validate
that would do the job. I am happy to write a PR but I wanted to check if I have not missed something obvious here.The text was updated successfully, but these errors were encountered: