From 7bca79a729e02d4dbbfe79f807cbc387f9e2633b Mon Sep 17 00:00:00 2001 From: Kemal Hadimli Date: Thu, 28 Dec 2023 20:25:54 +0000 Subject: [PATCH 1/2] fix: Add --license placeholder for future use --- src/plugin/serve.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/plugin/serve.ts b/src/plugin/serve.ts index c6178d1..6dce7b8 100644 --- a/src/plugin/serve.ts +++ b/src/plugin/serve.ts @@ -164,6 +164,12 @@ export const createServeCommand = (plugin: Plugin) => { choices: TELEMETRY_LEVEL_CHOICES, default: 'all', }, + // eslint-disable-next-line @typescript-eslint/naming-convention + license: { + type: 'string', + description: 'set offline license file (placeholder for future use)', + default: '', + }, }) .env('CQ_') .strict() From 46e0cb98493d204c18b3ca91ce0267eaca57f40c Mon Sep 17 00:00:00 2001 From: Kemal Hadimli Date: Fri, 29 Dec 2023 10:55:54 +0000 Subject: [PATCH 2/2] oops --- src/plugin/serve.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/plugin/serve.ts b/src/plugin/serve.ts index 6dce7b8..744a918 100644 --- a/src/plugin/serve.ts +++ b/src/plugin/serve.ts @@ -54,6 +54,11 @@ export const createServeCommand = (plugin: Plugin) => { description: 'network to bind to', default: 'tcp', }, + license: { + type: 'string', + description: 'set offline license file (placeholder for future use)', + default: '', + }, }); }, ({ address, logLevel, logFormat }: ServeArguments) => { @@ -164,12 +169,6 @@ export const createServeCommand = (plugin: Plugin) => { choices: TELEMETRY_LEVEL_CHOICES, default: 'all', }, - // eslint-disable-next-line @typescript-eslint/naming-convention - license: { - type: 'string', - description: 'set offline license file (placeholder for future use)', - default: '', - }, }) .env('CQ_') .strict()