From a96bce2d1ea2ba58f7d190a24ad23e125c42cffd Mon Sep 17 00:00:00 2001 From: Bao Tran Date: Tue, 30 Dec 2025 12:02:53 -0500 Subject: [PATCH 1/2] refactor: remove unused flags and descriptions from command files - Removed 'show-conversions-only' flag from command-snapshot.json and related command files. - Cleaned up description fields in bundle list markdown files. - Updated flag character order in package:update command. --- command-snapshot.json | 7 +++---- messages/bundle_list.md | 4 ---- messages/bundle_version_create_list.md | 4 ---- messages/bundle_version_list.md | 4 ---- src/commands/package/bundle/version/create/list.ts | 3 --- src/commands/package/bundle/version/list.ts | 1 - 6 files changed, 3 insertions(+), 20 deletions(-) diff --git a/command-snapshot.json b/command-snapshot.json index 0ba54f02..9c077e54 100644 --- a/command-snapshot.json +++ b/command-snapshot.json @@ -134,7 +134,6 @@ "flags-dir", "json", "loglevel", - "show-conversions-only", "status", "target-dev-hub", "verbose" @@ -363,7 +362,7 @@ "alias": ["force:package:update"], "command": "package:update", "flagAliases": ["apiversion", "errornotificationusername", "target-hub-org", "targetdevhubusername"], - "flagChars": ["d", "n", "o", "p", "v", "r"], + "flagChars": ["d", "n", "o", "p", "r", "v"], "flags": [ "api-version", "description", @@ -374,9 +373,9 @@ "loglevel", "name", "package", - "target-dev-hub", "recommended-version-id", - "skip-ancestor-check" + "skip-ancestor-check", + "target-dev-hub" ], "plugin": "@salesforce/plugin-packaging" }, diff --git a/messages/bundle_list.md b/messages/bundle_list.md index 95298408..9f981e58 100644 --- a/messages/bundle_list.md +++ b/messages/bundle_list.md @@ -28,10 +28,6 @@ Package Bundle ID Alias -# description - -Description - # flags.verbose.summary Display extended details about the package bundles. diff --git a/messages/bundle_version_create_list.md b/messages/bundle_version_create_list.md index e350061f..7facbb30 100644 --- a/messages/bundle_version_create_list.md +++ b/messages/bundle_version_create_list.md @@ -14,10 +14,6 @@ To get information about a specific request, run "<%= config.bin %> package bund Status of the installation request, used to filter the list. -# flags.show-conversions-only.summary - -Filter the list to display only converted package bundle versions. - # flags.verbose.summary Display additional information, such as the version name and number for each package bundle version creation request. diff --git a/messages/bundle_version_list.md b/messages/bundle_version_list.md index 585da22a..a118d360 100644 --- a/messages/bundle_version_list.md +++ b/messages/bundle_version_list.md @@ -28,10 +28,6 @@ Package Bundle ID Alias -# description - -Description - # flags.verbose.summary Display extended details about the package bundle versions. diff --git a/src/commands/package/bundle/version/create/list.ts b/src/commands/package/bundle/version/create/list.ts index 5cf1e170..59b728c2 100644 --- a/src/commands/package/bundle/version/create/list.ts +++ b/src/commands/package/bundle/version/create/list.ts @@ -56,9 +56,6 @@ export class PackageBundleVersionCreateListCommand extends SfCommand