bin/dev
#!/usr/bin/env node
const oclif = require('@oclif/core')
const path = require('path')
const project = path.join(__dirname, '..', 'tsconfig.json')
// In dev mode -> use ts-node and dev plugins
process.env.NODE_ENV = 'development'
// Enable SWC for faster typescript compiling
require('ts-node').register({ project, swc: true })
// In dev mode, always show stack traces
global.oclif = global.oclif || {}
// In dev mode, always show stack traces
global.oclif.debug = true
// Start the CLI
oclif
.run()
.then(require('@oclif/core/flush'))
.catch(require('@oclif/core/handle'))