mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
14 lines
333 B
JavaScript
Executable File
14 lines
333 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
// Check if version should be displayed
|
|
const versionFlags = ['-v', '-V', '--version'];
|
|
if (versionFlags.includes(process.argv.slice(-1)[0])) {
|
|
console.log(require('../package').version);
|
|
process.exit(0);
|
|
}
|
|
|
|
(async () => {
|
|
const oclif = require('@oclif/core');
|
|
await oclif.execute({ dir: __dirname });
|
|
})();
|