mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 21:47:17 +00:00
* add tooljet cli * remove yarn * add integration command * remove lic * add plugin command * feat: add plugin create cmd * add path * add create, delete, install cmds * auto-generated readme * use raw hygen runner inside cli * add auto gen doc * add rimraf * add correct plugin name for tree * remove oclif plugins * update version - npm * remove operations.ts * add root path
17 lines
418 B
JavaScript
Executable file
17 lines
418 B
JavaScript
Executable file
#!/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'
|
|
|
|
require('ts-node').register({project})
|
|
|
|
// In dev mode, always show stack traces
|
|
oclif.settings.debug = true;
|
|
|
|
// Start the CLI
|
|
oclif.run().then(oclif.flush).catch(oclif.Errors.handle)
|