mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(core): Upgrade oclif (no-changelog) (#8381)
This commit is contained in:
committed by
GitHub
parent
2c146cca62
commit
913c8c6b0c
@@ -1,6 +1,6 @@
|
||||
import { Container } from 'typedi';
|
||||
import { Command, Flags } from '@oclif/core';
|
||||
import { InstanceSettings } from 'n8n-core';
|
||||
import { Command, flags } from '@oclif/command';
|
||||
|
||||
import type { IBuildOptions } from '../src';
|
||||
import { buildFiles } from '../src';
|
||||
@@ -15,22 +15,21 @@ export class Build extends Command {
|
||||
];
|
||||
|
||||
static flags = {
|
||||
help: flags.help({ char: 'h' }),
|
||||
destination: flags.string({
|
||||
help: Flags.help({ char: 'h' }),
|
||||
destination: Flags.string({
|
||||
char: 'd',
|
||||
description: `The path to copy the compiled files to [default: ${
|
||||
Container.get(InstanceSettings).customExtensionDir
|
||||
}]`,
|
||||
}),
|
||||
watch: flags.boolean({
|
||||
watch: Flags.boolean({
|
||||
description:
|
||||
'Starts in watch mode and automatically builds and copies file whenever they change',
|
||||
}),
|
||||
};
|
||||
|
||||
async run() {
|
||||
// eslint-disable-next-line @typescript-eslint/no-shadow
|
||||
const { flags } = this.parse(Build);
|
||||
const { flags } = await this.parse(Build);
|
||||
|
||||
this.log('\nBuild credentials and nodes');
|
||||
this.log('=========================');
|
||||
|
||||
Reference in New Issue
Block a user