import { run } from '@oclif/command'; if (process.argv[1] === __filename) { (run() as Promise) .then(require('@oclif/command/flush')) .catch(require('@oclif/errors/handle')); } export { run };