ToolJet/cli/bin/dev
Gandharv 631ff04d5f
Add tooljet cli (#1611)
* 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
2022-01-17 22:28:15 +05:30

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)