From c7a06f7259d8aaaac7f0629dba2756790c87d0f7 Mon Sep 17 00:00:00 2001 From: myarmolinsky Date: Thu, 26 Sep 2024 07:52:46 -0400 Subject: [PATCH] Deprecate `orgs` command in favor of `organization list` Change-type: patch --- docs/balena-cli.md | 2 +- src/commands/organization/list.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/balena-cli.md b/docs/balena-cli.md index 92df9e42..4375af7f 100644 --- a/docs/balena-cli.md +++ b/docs/balena-cli.md @@ -2832,7 +2832,7 @@ answer "yes" to all questions (non interactive use) ### Aliases -- `orgs` +- `orgs` *(deprecated)* To use one of the aliases, replace `organization list` with the alias. diff --git a/src/commands/organization/list.ts b/src/commands/organization/list.ts index 544ebdea..34df0174 100644 --- a/src/commands/organization/list.ts +++ b/src/commands/organization/list.ts @@ -21,6 +21,7 @@ import { getBalenaSdk, getVisuals, stripIndent } from '../../utils/lazy'; export default class OrganizationListCmd extends Command { public static aliases = ['orgs']; + public static deprecateAliases = true; public static description = stripIndent` List all organizations.