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.