2021-11-07 07:34:51 +01:00
|
|
|
#!/usr/bin/env node
|
|
|
|
|
2022-05-08 19:54:06 +02:00
|
|
|
const NODE_MAJOR_VERSION = process.versions.node.split('.')[0];
|
|
|
|
|
|
|
|
if (NODE_MAJOR_VERSION < 17) {
|
|
|
|
throw new Error('This tool requires NodeJS 17 or later');
|
|
|
|
}
|
|
|
|
|
2021-11-07 07:34:51 +01:00
|
|
|
require('@oclif/command').run()
|
|
|
|
.then(require('@oclif/command/flush'))
|
|
|
|
.catch(require('@oclif/errors/handle'))
|