copykitku/src/index.ts
Laura Liberda 0538691173 base cli
2021-02-01 11:44:18 +01:00

12 lines
234 B
TypeScript
Executable file

#!/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 };