Skip to content

Commit e17a15d

Browse files
committed
chore: remove redundant aliases
1 parent a36c691 commit e17a15d

6 files changed

Lines changed: 11 additions & 22 deletions

File tree

command-snapshot.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@
6666
{
6767
"alias": [],
6868
"command": "package:bundle:delete",
69-
"flagAliases": ["apiversion", "noprompt", "target-hub-org", "targetdevhubusername"],
69+
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
7070
"flagChars": ["b", "n", "v"],
7171
"flags": ["api-version", "bundle", "flags-dir", "json", "loglevel", "no-prompt", "target-dev-hub"],
7272
"plugin": "@salesforce/plugin-packaging"
7373
},
7474
{
7575
"alias": [],
7676
"command": "package:bundle:install",
77-
"flagAliases": ["apiversion", "targetusername", "u"],
77+
"flagAliases": ["apiversion", "targetdevhubusername", "targetusername", "u"],
7878
"flagChars": ["b", "o", "v", "w"],
7979
"flags": [
8080
"api-version",
@@ -92,15 +92,15 @@
9292
{
9393
"alias": [],
9494
"command": "package:bundle:install:list",
95-
"flagAliases": ["apiversion", "createdlastdays", "targetusername", "u"],
95+
"flagAliases": ["apiversion", "targetusername", "u"],
9696
"flagChars": ["c", "o", "s"],
9797
"flags": ["api-version", "created-last-days", "flags-dir", "json", "loglevel", "status", "target-org", "verbose"],
9898
"plugin": "@salesforce/plugin-packaging"
9999
},
100100
{
101101
"alias": [],
102102
"command": "package:bundle:install:report",
103-
"flagAliases": ["apiversion", "packageinstallrequestid", "targetusername", "u"],
103+
"flagAliases": ["apiversion", "targetusername", "u"],
104104
"flagChars": ["i", "o"],
105105
"flags": ["api-version", "flags-dir", "json", "loglevel", "package-install-request-id", "target-org", "verbose"],
106106
"plugin": "@salesforce/plugin-packaging"
@@ -116,7 +116,7 @@
116116
{
117117
"alias": [],
118118
"command": "package:bundle:version:create",
119-
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername", "versionnumber"],
119+
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
120120
"flagChars": ["b", "d", "n", "p", "v", "w"],
121121
"flags": [
122122
"api-version",
@@ -136,7 +136,7 @@
136136
{
137137
"alias": [],
138138
"command": "package:bundle:version:create:list",
139-
"flagAliases": ["apiversion", "createdlastdays", "target-hub-org", "targetdevhubusername"],
139+
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
140140
"flagChars": ["c", "s", "v"],
141141
"flags": [
142142
"api-version",
@@ -154,7 +154,7 @@
154154
{
155155
"alias": [],
156156
"command": "package:bundle:version:create:report",
157-
"flagAliases": ["apiversion", "bundleversioncreaterequestid", "target-hub-org", "targetdevhubusername"],
157+
"flagAliases": ["apiversion", "target-hub-org", "targetdevhubusername"],
158158
"flagChars": ["i", "v"],
159159
"flags": ["api-version", "bundle-version-create-request-id", "flags-dir", "json", "loglevel", "target-dev-hub"],
160160
"plugin": "@salesforce/plugin-packaging"
@@ -186,13 +186,13 @@
186186
"installationkeybypass",
187187
"patchversion",
188188
"target-hub-org",
189-
"targetdevhubusername",
190-
"codecoverage"
189+
"targetdevhubusername"
191190
],
192-
"flagChars": ["a", "f", "k", "m", "p", "s", "v", "w", "x", "c"],
191+
"flagChars": ["a", "c", "f", "k", "m", "p", "s", "v", "w", "x"],
193192
"flags": [
194193
"api-version",
195194
"build-instance",
195+
"code-coverage",
196196
"definition-file",
197197
"flags-dir",
198198
"installation-key",
@@ -204,8 +204,7 @@
204204
"seed-metadata",
205205
"target-dev-hub",
206206
"verbose",
207-
"wait",
208-
"code-coverage"
207+
"wait"
209208
],
210209
"plugin": "@salesforce/plugin-packaging"
211210
},

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ export class PackageBundleInstallListCommand extends SfCommand<PackageBundleInst
4343
'api-version': orgApiVersionFlagWithDeprecations,
4444
'created-last-days': Flags.integer({
4545
char: 'c',
46-
deprecateAliases: true,
47-
aliases: ['createdlastdays'],
4846
summary: messages.getMessage('flags.created-last-days.summary'),
4947
}),
5048
status: Flags.custom<Status>({

src/commands/package/bundle/install/report.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ export class PackageBundleInstallReportCommand extends SfCommand<ReportCommandRe
4444
// eslint-disable-next-line sf-plugin/id-flag-suggestions
4545
'package-install-request-id': Flags.salesforceId({
4646
length: 'both',
47-
deprecateAliases: true,
48-
aliases: ['packageinstallrequestid'],
4947
char: 'i',
5048
summary: messages.getMessage('flags.package-install-request-id.summary'),
5149
required: true,

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ export class PackageBundlesCreate extends SfCommand<BundleSObjects.PackageBundle
6464
summary: messages.getMessage('flags.verbose.summary'),
6565
}),
6666
'version-number': Flags.string({
67-
deprecateAliases: true,
68-
aliases: ['versionnumber'],
6967
char: 'n',
7068
summary: messages.getMessage('flags.version-number.summary'),
7169
}),

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ export class PackageBundleVersionCreateListCommand extends SfCommand<PackageBund
4343
'api-version': orgApiVersionFlagWithDeprecations,
4444
'created-last-days': Flags.integer({
4545
char: 'c',
46-
deprecateAliases: true,
47-
aliases: ['createdlastdays'],
4846
summary: messages.getMessage('flags.created-last-days.summary'),
4947
}),
5048
status: Flags.custom<Status>({

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ export class PackageBundleVersionCreateReportCommand extends SfCommand<ReportCom
3939
// eslint-disable-next-line sf-plugin/id-flag-suggestions
4040
'bundle-version-create-request-id': Flags.salesforceId({
4141
length: 'both',
42-
deprecateAliases: true,
43-
aliases: ['bundleversioncreaterequestid'],
4442
char: 'i',
4543
summary: messages.getMessage('flags.bundle-version-create-request-id.summary'),
4644
required: true,

0 commit comments

Comments
 (0)