adevtool/bin/run

11 lines
291 B
JavaScript
Executable file

#!/usr/bin/env node
const NODE_MAJOR_VERSION = process.versions.node.split('.')[0];
if (NODE_MAJOR_VERSION < 17) {
throw new Error('This tool requires NodeJS 17 or later');
}
require('@oclif/command').run()
.then(require('@oclif/command/flush'))
.catch(require('@oclif/errors/handle'))