UNPKG

465 BPlain TextView Raw
1#!/usr/bin/env node
2
3const oclif = require('@oclif/core')
4
5// const path = require('path')
6// const project = path.join(__dirname, '..', 'tsconfig.json')
7
8// In dev mode -> use ts-node and dev plugins
9process.env.NODE_ENV = 'development'
10
11// TODO: Enable when using typescript
12// require('ts-node').register({project})
13
14// In dev mode, always show stack traces
15oclif.settings.debug = true;
16
17// Start the CLI
18oclif.run().then(oclif.flush).catch(oclif.Errors.handle)