kingoftime-cli/bin/dev

14 lines
318 B
JavaScript
Executable file

#!/usr/bin/env node
const oclif = require('@oclif/core')
const path = require('path')
// In dev mode -> use ts-node and dev plugins
process.env.NODE_ENV = 'development'
// In dev mode, always show stack traces
oclif.settings.debug = true;
// Start the CLI
oclif.run().then(oclif.flush).catch(oclif.Errors.handle)