12 lines
234 B
TypeScript
12 lines
234 B
TypeScript
|
#!/usr/bin/env ts-node
|
||
|
|
||
|
import { run } from '@oclif/command';
|
||
|
|
||
|
if (process.argv[1] === __filename) {
|
||
|
(run() as Promise<any>)
|
||
|
.then(require('@oclif/command/flush'))
|
||
|
.catch(require('@oclif/errors/handle'));
|
||
|
}
|
||
|
|
||
|
export { run };
|