npm publish
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { Hook } from '@oclif/core'
|
||||
|
||||
const hook: Hook<'postrun'> = async function (opts: any) {
|
||||
|
||||
|
||||
// srmVersion
|
||||
// console.log(opts.Command.flags)
|
||||
// console.log(opts.Command.args)
|
||||
// console.log(opts.Command.name)
|
||||
// console.log(opts)
|
||||
// process.stdout.write(`example hook running ${opts?.id}\n`)
|
||||
|
||||
}
|
||||
|
||||
export default hook
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Hook, Command } from '@oclif/core'
|
||||
import fs from 'fs-extra';
|
||||
import _ from 'lodash';
|
||||
|
||||
|
||||
const hook: Hook<'prerun'> = async function (opts) {
|
||||
|
||||
|
||||
// srmVersion
|
||||
// console.log(opts.Command.flags)
|
||||
// console.log(opts.Command.args)
|
||||
// console.log(opts.Command.name)
|
||||
}
|
||||
|
||||
export default hook
|
||||
Regular → Executable
+2
@@ -1 +1,3 @@
|
||||
#!/usr/bin/env bun
|
||||
|
||||
export {run} from '@oclif/core'
|
||||
|
||||
Reference in New Issue
Block a user