-
Notifications
You must be signed in to change notification settings - Fork 27
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
Check text on stdin #100
Labels
enhancement
New feature or request
Comments
hdevalke
added a commit
that referenced
this issue
Jan 12, 2023
This is usefull to use convco in a commit-msg git hook. ``` printf '%s' "$1" | convco check ``` Refs: #100
Thank you for the suggestion. I added it in db1c946. It works without providing an extra argument:
|
hdevalke
added a commit
that referenced
this issue
Jan 12, 2023
This is usefull to use convco in a commit-msg git hook. ``` printf '%s' "$1" | convco check ``` Refs: #100
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I'd like to check the commit message in
commit-msg
git hook, which ideally would just invokeecho "$1" | convco check --stdin
or something like that.Yes, I know there's
convco commit
but not everyone will necessarily use it in my team, while git hooks are set up automatically.Describe the solution you'd like
echo "$1" | convco check --stdin
should validate the input.Describe alternatives you've considered
Joining monastery and dedicating my life towards study of scriptures and meditation.
Additional context
That's really all I have. Thank you for making this project.
The text was updated successfully, but these errors were encountered: