From bc66febc502d46bd37916d0bf5c413736f1522da Mon Sep 17 00:00:00 2001 From: myarmolinsky Date: Wed, 25 Sep 2024 07:47:38 -0400 Subject: [PATCH] Deprecate `tags` command in favor of `tag list` Change-type: patch --- docs/balena-cli.md | 2 +- src/commands/tag/list.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/balena-cli.md b/docs/balena-cli.md index 911d0dfc..92df9e42 100644 --- a/docs/balena-cli.md +++ b/docs/balena-cli.md @@ -3909,7 +3909,7 @@ length of time to enable support for, in (h)ours or (d)ays, e.g. 12h, 2d ### Aliases -- `tags` +- `tags` *(deprecated)* To use one of the aliases, replace `tag list` with the alias. diff --git a/src/commands/tag/list.ts b/src/commands/tag/list.ts index 509ed9e8..07c3daeb 100644 --- a/src/commands/tag/list.ts +++ b/src/commands/tag/list.ts @@ -23,6 +23,7 @@ import { applicationIdInfo } from '../../utils/messages'; export default class TagListCmd extends Command { public static aliases = ['tags']; + public static deprecateAliases = true; public static description = stripIndent` List all tags for a fleet, device or release.