pairs-hook
v1.0.8
Published
To prompt a user that their pair is correct
Downloads
10
Readme
This post-commit hook is meant to confirm pairs.
This is a git hook extension to Git-Scripts by Pivotal Labs. All code herein is strictly a product of the author who is not affiliated with Pivotal Labs in any way.
Implement PAIRS-HOOK by adding a git hook in your package.json 'scripts' section. It assumes that all pairs in pair files only have two letter initials.
"postcommit": "pairs-hook < /dev/tty"
Note the < /dev/tty above which is required to pause on user input.
As written the hook requires Husky, but you are welcome to implement your own git hook.
Find the source on NPM or GIT.
For other questions contact Eli Itah @eitah on github.
