Skip to content

Commit

Permalink
chore(cli): mark region and environment as to-delete (#1058)
Browse files Browse the repository at this point in the history
<!-- For Coveo Employees only. Fill this section.

CDX-1247

-->

## Proposed changes

Just so we don't forget them
  • Loading branch information
louis-bompart authored Jan 11, 2023
1 parent f4f54cc commit 21f20c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/core/src/commands/config/set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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'
Expand Down

0 comments on commit 21f20c4

Please sign in to comment.