From 21f20c4b8b6d1230899f6e76b1777041a8f2cf72 Mon Sep 17 00:00:00 2001 From: Louis Bompart Date: Wed, 11 Jan 2023 16:17:30 -0500 Subject: [PATCH] chore(cli): mark region and environment as to-delete (#1058) ## Proposed changes Just so we don't forget them --- packages/cli/core/src/commands/config/set.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/cli/core/src/commands/config/set.ts b/packages/cli/core/src/commands/config/set.ts index 5c9bbff077..1565a3d326 100644 --- a/packages/cli/core/src/commands/config/set.ts +++ b/packages/cli/core/src/commands/config/set.ts @@ -15,10 +15,12 @@ export default class Set extends CLICommand { public static description = 'Modify the current Coveo CLI configuration.'; public static flags = { + // TODO CDX-1246 environment: Flags.string({ char: 'e', hidden: true, }), + // TODO CDX-1246 region: Flags.string({ char: 'r', hidden: true, @@ -42,6 +44,7 @@ export default class Set extends CLICommand { @Preconditions(IsAuthenticated()) public async run() { const {flags} = await this.parse(Set); + // TODO CDX-1246 if (flags.environment || flags.region) { CliUx.ux.error( 'To connect to a different region or environment, use the `auth:login` command'