From e0fd3536667cd0322d07d4592b15c451c78fdfe9 Mon Sep 17 00:00:00 2001 From: peternhale Date: Wed, 13 Apr 2022 11:43:55 -0600 Subject: [PATCH] fix: mark commands as beta (#269) * fix: mark commands as beta * Update display.ts * Update list.ts * Update open.ts --- src/commands/env/create/scratch.ts | 2 +- src/commands/env/delete/sandbox.ts | 1 + src/commands/env/delete/scratch.ts | 1 + src/commands/env/list.ts | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/commands/env/create/scratch.ts b/src/commands/env/create/scratch.ts index d2396055..bc7e0b4f 100644 --- a/src/commands/env/create/scratch.ts +++ b/src/commands/env/create/scratch.ts @@ -125,7 +125,7 @@ export default class EnvCreateScratch extends SfCommand { summary: messages.getMessage('flags.client-id.summary'), }), }; - + public static readonly state = 'beta'; public async run(): Promise { const lifecycle = Lifecycle.getInstance(); diff --git a/src/commands/env/delete/sandbox.ts b/src/commands/env/delete/sandbox.ts index 5042a66a..e63fcb28 100644 --- a/src/commands/env/delete/sandbox.ts +++ b/src/commands/env/delete/sandbox.ts @@ -28,6 +28,7 @@ export default class EnvDeleteSandbox extends SfCommand { summary: messages.getMessage('flags.no-prompt.summary'), }), }; + public static readonly state = 'beta'; public async run(): Promise { const { flags } = await this.parse(EnvDeleteSandbox); diff --git a/src/commands/env/delete/scratch.ts b/src/commands/env/delete/scratch.ts index 2973c711..412bba87 100644 --- a/src/commands/env/delete/scratch.ts +++ b/src/commands/env/delete/scratch.ts @@ -30,6 +30,7 @@ export default class EnvDeleteScratch extends SfCommand { summary: messages.getMessage('flags.no-prompt.summary'), }), }; + public static readonly state = 'beta'; public async run(): Promise { const { flags } = await this.parse(EnvDeleteScratch); diff --git a/src/commands/env/list.ts b/src/commands/env/list.ts index 486012b9..e8a388f1 100644 --- a/src/commands/env/list.ts +++ b/src/commands/env/list.ts @@ -79,6 +79,7 @@ export default class EnvList extends SfCommand { summary: messages.getMessage('flags.sort.summary'), }), }; + private flags!: { all: boolean; columns: string[];