Created
May 5, 2019 11:01
-
-
Save korzio/7c3934248d89a86a7a0d4d462f8f4572 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oclif hook commit --event=commit | |
cat src/hooks/commit/commit.ts | |
import {Hook} from '@oclif/config' | |
const hook: Hook<'commit'> = async function (opts) { | |
process.stdout.write(`example hook running ${opts.id}\n`) | |
} | |
export default hook |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment