Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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 ${}\n`)
export default hook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.