mirror of
https://github.com/expo/oclif-plugin-help.git
synced 2026-11-14 19:11:14 -10:00
* feat: update to oclif/core * fix: remove unneeded code * fix: unit test & remove more unnecessary stuff * chore: update build image * fix: remove topicSeparator * chore: update to sf-cli standard CI * chore: don't export oclif help * fix: unit test * chore: update oclif/test dep and ci * chore: fix ci again...
19 lines
551 B
JavaScript
19 lines
551 B
JavaScript
#!/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 });
|
|
// oclif.settings.tsconfigPath = project;
|
|
|
|
// In dev mode, always show stack traces
|
|
// Waiting for https://github.com/oclif/core/pull/147
|
|
// oclif.settings.debug = true;
|
|
|
|
// Start the CLI
|
|
oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')); |