Skip to content

Commit a96bce2

Browse files
committed
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.
1 parent 22353d7 commit a96bce2

6 files changed

Lines changed: 3 additions & 20 deletions

File tree

command-snapshot.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@
134134
"flags-dir",
135135
"json",
136136
"loglevel",
137-
"show-conversions-only",
138137
"status",
139138
"target-dev-hub",
140139
"verbose"
@@ -363,7 +362,7 @@
363362
"alias": ["force:package:update"],
364363
"command": "package:update",
365364
"flagAliases": ["apiversion", "errornotificationusername", "target-hub-org", "targetdevhubusername"],
366-
"flagChars": ["d", "n", "o", "p", "v", "r"],
365+
"flagChars": ["d", "n", "o", "p", "r", "v"],
367366
"flags": [
368367
"api-version",
369368
"description",
@@ -374,9 +373,9 @@
374373
"loglevel",
375374
"name",
376375
"package",
377-
"target-dev-hub",
378376
"recommended-version-id",
379-
"skip-ancestor-check"
377+
"skip-ancestor-check",
378+
"target-dev-hub"
380379
],
381380
"plugin": "@salesforce/plugin-packaging"
382381
},

messages/bundle_list.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ Package Bundle ID
2828

2929
Alias
3030

31-
# description
32-
33-
Description
34-
3531
# flags.verbose.summary
3632

3733
Display extended details about the package bundles.

messages/bundle_version_create_list.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ To get information about a specific request, run "<%= config.bin %> package bund
1414

1515
Status of the installation request, used to filter the list.
1616

17-
# flags.show-conversions-only.summary
18-
19-
Filter the list to display only converted package bundle versions.
20-
2117
# flags.verbose.summary
2218

2319
Display additional information, such as the version name and number for each package bundle version creation request.

messages/bundle_version_list.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ Package Bundle ID
2828

2929
Alias
3030

31-
# description
32-
33-
Description
34-
3531
# flags.verbose.summary
3632

3733
Display extended details about the package bundle versions.

src/commands/package/bundle/version/create/list.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ export class PackageBundleVersionCreateListCommand extends SfCommand<PackageBund
5656
char: 's',
5757
summary: messages.getMessage('flags.status.summary'),
5858
}),
59-
'show-conversions-only': Flags.boolean({
60-
summary: messages.getMessage('flags.show-conversions-only.summary'),
61-
}),
6259
verbose: Flags.boolean({
6360
summary: messages.getMessage('flags.verbose.summary'),
6461
}),

src/commands/package/bundle/version/list.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export class PackageBundleVersionListCommand extends SfCommand<PackageBundleVers
2929
public static readonly hidden = true;
3030
public static state = 'beta';
3131
public static readonly summary = messages.getMessage('summary');
32-
public static readonly description = messages.getMessage('description');
3332
public static readonly examples = messages.getMessages('examples');
3433
public static readonly flags = {
3534
loglevel,

0 commit comments

Comments
 (0)