copykitku/src/index.ts
2021-02-16 02:43:27 +01:00

10 lines
210 B
TypeScript
Executable file

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 };