adevtool/bin/run
flawedworld 7ff3d0dd57 Move suggested NodeJS version to 18
NodeJS 17 is EOL
2022-08-23 16:21:02 -04:00

11 lines
291 B
JavaScript
Executable file

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