Skip to content

Commit 57108a7

Browse files
committed
style: cleanup flags
1 parent fddf292 commit 57108a7

File tree

8 files changed

+19
-17
lines changed

8 files changed

+19
-17
lines changed

messages/create_scratch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ You must specify a Dev Hub to create a scratch org, either with the --target-dev
3434

3535
<%= config.bin %> <%= command.id %> --edition enterprise --alias my-scratch-org --target-dev-hub MyHub --release preview
3636

37-
# flags.target-hub.summary
37+
# flags.target-dev-hub.summary
3838

3939
Username or alias of the Dev Hub org.
4040

41-
# flags.target-hub.description
41+
# flags.target-dev-hub.description
4242

4343
Overrides the value of the target-dev-hub configuration variable, if set.
4444

@@ -86,11 +86,11 @@ The scratch org definition file is a blueprint for the scratch org. It mimics th
8686

8787
Consumer key of the Dev Hub connected app.
8888

89-
# flags.adminEmail.summary
89+
# flags.admin-email.summary
9090

9191
Email address that will be applied to the org's admin user. Overrides the value of the "adminEmail" option in the definition file, if set.
9292

93-
# flags.sourceOrg.summary
93+
# flags.source-org.summary
9494

9595
15-character ID of the org whose shape the new scratch org will be based on. Overrides the value of the "sourceOrg" option in the definition file, if set.
9696

messages/delete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To mark the org for deletion without being prompted to confirm, specify --noprom
1818

1919
- $ <%= config.bin %> <%= command.id %> -u MyOrgAlias -p
2020

21-
# flags.noprompt.summary
21+
# flags.no-prompt.summary
2222

2323
No prompt to confirm deletion.
2424

messages/list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ Include expired, deleted, and unknown-status scratch orgs.
2828

2929
Remove all local org authorizations for non-active scratch orgs. Use "org logout" to remove non-scratch orgs.
3030

31-
# flags.noPrompt.summary
31+
# flags.no-prompt.summary
3232

3333
Don't prompt for confirmation.
3434

35-
# flags.skipConnectionStatus.summary
35+
# flags.skip-connection-status.summary
3636

3737
Skip retrieving the connection status of non-scratch orgs.
3838

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"eslint-plugin-header": "^3.1.1",
3737
"eslint-plugin-import": "2.27.5",
3838
"eslint-plugin-jsdoc": "^43.0.5",
39-
"eslint-plugin-sf-plugin": "^1.15.6",
39+
"eslint-plugin-sf-plugin": "^1.16.0",
4040
"husky": "^7.0.4",
4141
"mocha": "^10.2.0",
4242
"moment": "^2.29.1",

src/commands/force/org/delete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class Delete extends SfCommand<DeleteResult> {
4141
'api-version': orgApiVersionFlagWithDeprecations,
4242
'no-prompt': Flags.boolean({
4343
char: 'p',
44-
summary: messages.getMessage('flags.noprompt.summary'),
44+
summary: messages.getMessage('flags.no-prompt.summary'),
4545
deprecateAliases: true,
4646
aliases: ['noprompt'],
4747
}),

src/commands/org/create/scratch.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ export default class EnvCreateScratch extends SfCommand<ScratchCreateResponse> {
5454
}),
5555
'target-dev-hub': Flags.requiredHub({
5656
char: 'v',
57-
summary: messages.getMessage('flags.target-hub.summary'),
58-
description: messages.getMessage('flags.target-hub.description'),
57+
summary: messages.getMessage('flags.target-dev-hub.summary'),
58+
description: messages.getMessage('flags.target-dev-hub.description'),
5959
required: true,
6060
}),
6161
'no-ancestors': Flags.boolean({
@@ -134,11 +134,11 @@ export default class EnvCreateScratch extends SfCommand<ScratchCreateResponse> {
134134
helpGroup: definitionFileHelpGroupName,
135135
}),
136136
'admin-email': Flags.string({
137-
summary: messages.getMessage('flags.adminEmail.summary'),
137+
summary: messages.getMessage('flags.admin-email.summary'),
138138
helpGroup: definitionFileHelpGroupName,
139139
}),
140140
'source-org': Flags.salesforceId({
141-
summary: messages.getMessage('flags.sourceOrg.summary'),
141+
summary: messages.getMessage('flags.source-org.summary'),
142142
startsWith: '00D',
143143
length: 15,
144144
helpGroup: definitionFileHelpGroupName,

src/commands/org/list.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ export class OrgListCommand extends SfCommand<OrgListResult> {
3636
}),
3737
'no-prompt': Flags.boolean({
3838
char: 'p',
39-
summary: messages.getMessage('flags.noPrompt.summary'),
39+
summary: messages.getMessage('flags.no-prompt.summary'),
4040
dependsOn: ['clean'],
4141
aliases: ['noprompt'],
4242
deprecateAliases: true,
4343
}),
4444
'skip-connection-status': Flags.boolean({
45-
summary: messages.getMessage('flags.skipConnectionStatus.summary'),
45+
summary: messages.getMessage('flags.skip-connection-status.summary'),
4646
aliases: ['skipconnectionstatus'],
4747
deprecateAliases: true,
4848
}),

yarn.lock

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3075,8 +3075,10 @@ eslint-plugin-prefer-arrow@^1.2.1:
30753075
resolved "https://registry.yarnpkg.com/eslint-plugin-prefer-arrow/-/eslint-plugin-prefer-arrow-1.2.3.tgz#e7fbb3fa4cd84ff1015b9c51ad86550e55041041"
30763076
integrity sha512-J9I5PKCOJretVuiZRGvPQxCbllxGAV/viI20JO3LYblAodofBxyMnZAJ+WGeClHgANnSJberTNoFWWjrWKBuXQ==
30773077

3078-
"eslint-plugin-sf-plugin@file:/Users/shane.mclaughlin/eng/eslint-plugin-sf-plugin":
3079-
version "1.15.13"
3078+
eslint-plugin-sf-plugin@^1.16.0:
3079+
version "1.16.0"
3080+
resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.16.0.tgz#9c82d9a69be28b754ba8637a5bddba350dcf565e"
3081+
integrity sha512-f/1VQDKq1ffOrp5VZUJB6wI44c+57N5A6S1p7/Mtl4JOk9WmBHUT6Tg8W0I2cwM+KV08Bh49u6iesFdZsLUXGg==
30803082
dependencies:
30813083
"@salesforce/core" "^4.3.7"
30823084
"@typescript-eslint/utils" "^5.59.11"

0 commit comments

Comments
 (0)