mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
17 lines
341 B
TypeScript
Executable file
17 lines
341 B
TypeScript
Executable file
#!/usr/bin/env tsx
|
|
|
|
const oclif = require('@oclif/core');
|
|
|
|
// 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
|
|
.execute({ development: true, dir: __dirname })
|
|
.catch(e => {
|
|
throw e;
|
|
})
|
|
.then(() => {});
|