@salesforce/plugin-auth 2.8.26 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/README.md +67 -67
  2. package/lib/authBaseCommand.d.ts +0 -2
  3. package/lib/authBaseCommand.js +9 -25
  4. package/lib/authBaseCommand.js.map +1 -1
  5. package/lib/commands/org/list/auth.d.ts +1 -1
  6. package/lib/commands/org/list/auth.js +16 -17
  7. package/lib/commands/org/list/auth.js.map +1 -1
  8. package/lib/commands/org/login/access-token.d.ts +5 -5
  9. package/lib/commands/org/login/access-token.js +62 -62
  10. package/lib/commands/org/login/access-token.js.map +1 -1
  11. package/lib/commands/org/login/device.d.ts +10 -10
  12. package/lib/commands/org/login/device.js +59 -60
  13. package/lib/commands/org/login/device.js.map +1 -1
  14. package/lib/commands/org/login/jwt.d.ts +8 -8
  15. package/lib/commands/org/login/jwt.js +78 -81
  16. package/lib/commands/org/login/jwt.js.map +1 -1
  17. package/lib/commands/org/login/sfdx-url.d.ts +7 -7
  18. package/lib/commands/org/login/sfdx-url.js +59 -58
  19. package/lib/commands/org/login/sfdx-url.js.map +1 -1
  20. package/lib/commands/org/login/web.d.ts +7 -7
  21. package/lib/commands/org/login/web.js +81 -81
  22. package/lib/commands/org/login/web.js.map +1 -1
  23. package/lib/commands/org/logout.d.ts +3 -3
  24. package/lib/commands/org/logout.js +48 -49
  25. package/lib/commands/org/logout.js.map +1 -1
  26. package/lib/common.js +13 -15
  27. package/lib/common.js.map +1 -1
  28. package/lib/index.d.ts +1 -1
  29. package/lib/index.js +1 -2
  30. package/lib/index.js.map +1 -1
  31. package/messages/accesstoken.store.md +5 -0
  32. package/messages/messages.md +0 -5
  33. package/oclif.lock +7839 -0
  34. package/oclif.manifest.json +665 -329
  35. package/package.json +32 -50
@@ -1,232 +1,328 @@
1
1
  {
2
- "version": "2.8.26",
3
2
  "commands": {
4
3
  "org:logout": {
5
- "id": "org:logout",
6
- "summary": "Log out of a Salesforce org.",
7
- "description": "If you run this command with no flags and no default org set in your config or environment, it first displays a list of orgs you've created or logged into, with none of the orgs selected. Use the arrow keys to scroll through the list and the space bar to select the orgs you want to log out of. Press Enter when you're done; the command asks for a final confirmation before logging out of the selected orgs.\n\nThe process is similar if you specify --all, except that in the initial list of orgs, they're all selected. Use --target-org to logout of a specific org. In both these cases by default, you must still confirm that you want to log out. Use --no-prompt to never be asked for confirmation when also using --all or --target-org.\n\nBe careful! If you log out of a scratch org without having access to its password, you can't access the scratch org again, either through the CLI or the Salesforce UI.",
8
- "strict": true,
9
- "pluginName": "@salesforce/plugin-auth",
10
- "pluginAlias": "@salesforce/plugin-auth",
11
- "pluginType": "core",
12
4
  "aliases": [
13
5
  "force:auth:logout",
14
6
  "auth:logout"
15
7
  ],
8
+ "args": {},
9
+ "deprecateAliases": true,
10
+ "description": "If you run this command with no flags and no default org set in your config or environment, it first displays a list of orgs you've created or logged into, with none of the orgs selected. Use the arrow keys to scroll through the list and the space bar to select the orgs you want to log out of. Press Enter when you're done; the command asks for a final confirmation before logging out of the selected orgs.\n\nThe process is similar if you specify --all, except that in the initial list of orgs, they're all selected. Use --target-org to logout of a specific org. In both these cases by default, you must still confirm that you want to log out. Use --no-prompt to never be asked for confirmation when also using --all or --target-org.\n\nBe careful! If you log out of a scratch org without having access to its password, you can't access the scratch org again, either through the CLI or the Salesforce UI.",
16
11
  "examples": [
17
12
  "Interactively select the orgs to log out of:\n<%= config.bin %> <%= command.id %>",
18
13
  "Log out of the org with username me@my.org:\n<%= config.bin %> <%= command.id %> --target-org me@my.org",
19
14
  "Log out of all orgs after confirmation:\n<%= config.bin %> <%= command.id %> --all",
20
15
  "Logout of the org with alias my-scratch and don't prompt for confirmation:\n<%= config.bin %> <%= command.id %> --target-org my-scratch --no-prompt"
21
16
  ],
22
- "deprecateAliases": true,
23
17
  "flags": {
24
18
  "json": {
25
- "name": "json",
26
- "type": "boolean",
27
19
  "description": "Format output as json.",
28
20
  "helpGroup": "GLOBAL",
21
+ "name": "json",
29
22
  "allowNo": false,
30
- "deprecateAliases": true
23
+ "type": "boolean"
31
24
  },
32
25
  "target-org": {
33
- "name": "target-org",
34
- "type": "option",
35
- "char": "o",
36
- "summary": "Username or alias of the target org.",
37
- "multiple": false,
38
- "deprecateAliases": true,
39
26
  "aliases": [
40
27
  "targetusername",
41
28
  "u"
42
- ]
29
+ ],
30
+ "char": "o",
31
+ "deprecateAliases": true,
32
+ "name": "target-org",
33
+ "summary": "Username or alias of the target org.",
34
+ "hasDynamicHelp": false,
35
+ "multiple": false,
36
+ "type": "option"
43
37
  },
44
38
  "all": {
45
- "name": "all",
46
- "type": "boolean",
47
39
  "char": "a",
48
- "summary": "Include all authenticated orgs.",
49
40
  "description": "All orgs includes Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs.",
50
- "required": false,
51
- "allowNo": false,
52
41
  "exclusive": [
53
42
  "target-org"
54
43
  ],
55
- "deprecateAliases": true
44
+ "name": "all",
45
+ "required": false,
46
+ "summary": "Include all authenticated orgs.",
47
+ "allowNo": false,
48
+ "type": "boolean"
56
49
  },
57
50
  "no-prompt": {
58
- "name": "no-prompt",
59
- "type": "boolean",
51
+ "aliases": [
52
+ "noprompt"
53
+ ],
60
54
  "char": "p",
61
- "summary": "Don't prompt for confirmation.",
55
+ "deprecateAliases": true,
56
+ "name": "no-prompt",
62
57
  "required": false,
58
+ "summary": "Don't prompt for confirmation.",
63
59
  "allowNo": false,
64
- "deprecateAliases": true,
65
- "aliases": [
66
- "noprompt"
67
- ]
60
+ "type": "boolean"
68
61
  },
69
62
  "loglevel": {
70
- "name": "loglevel",
71
- "type": "option",
72
- "hidden": true,
73
- "multiple": false,
74
63
  "deprecated": {
75
64
  "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
76
65
  },
77
- "deprecateAliases": true
66
+ "hidden": true,
67
+ "name": "loglevel",
68
+ "hasDynamicHelp": false,
69
+ "multiple": false,
70
+ "type": "option"
78
71
  }
79
72
  },
80
- "args": {}
81
- },
82
- "org:list:auth": {
83
- "id": "org:list:auth",
84
- "summary": "List authorization information about the orgs you created or logged into.",
85
- "description": "This command uses local authorization information that Salesforce CLI caches when you create a scratch org or log into an org. The command doesn't actually connect to the orgs to verify that they're still active. As a result, this command executes very quickly. If you want to view live information about your authorized orgs, such as their connection status, use the \"org list\" command.",
86
- "strict": true,
87
- "pluginName": "@salesforce/plugin-auth",
73
+ "hasDynamicHelp": false,
74
+ "hiddenAliases": [],
75
+ "id": "org:logout",
88
76
  "pluginAlias": "@salesforce/plugin-auth",
77
+ "pluginName": "@salesforce/plugin-auth",
89
78
  "pluginType": "core",
79
+ "strict": true,
80
+ "summary": "Log out of a Salesforce org.",
81
+ "isESM": true,
82
+ "relativePath": [
83
+ "lib",
84
+ "commands",
85
+ "org",
86
+ "logout.js"
87
+ ],
88
+ "aliasPermutations": [
89
+ "force:auth:logout",
90
+ "auth:force:logout",
91
+ "auth:logout:force",
92
+ "force:logout:auth",
93
+ "logout:force:auth",
94
+ "logout:auth:force",
95
+ "auth:logout",
96
+ "logout:auth"
97
+ ],
98
+ "permutations": [
99
+ "org:logout",
100
+ "logout:org"
101
+ ]
102
+ },
103
+ "org:list:auth": {
90
104
  "aliases": [
91
105
  "force:auth:list",
92
106
  "auth:list"
93
107
  ],
108
+ "args": {},
109
+ "deprecateAliases": true,
110
+ "description": "This command uses local authorization information that Salesforce CLI caches when you create a scratch org or log into an org. The command doesn't actually connect to the orgs to verify that they're still active. As a result, this command executes very quickly. If you want to view live information about your authorized orgs, such as their connection status, use the \"org list\" command.",
94
111
  "examples": [
95
112
  "List local authorization information about your orgs:\n<%= config.bin %> <%= command.id %>"
96
113
  ],
97
- "deprecateAliases": true,
98
114
  "flags": {
99
115
  "json": {
100
- "name": "json",
101
- "type": "boolean",
102
116
  "description": "Format output as json.",
103
117
  "helpGroup": "GLOBAL",
118
+ "name": "json",
104
119
  "allowNo": false,
105
- "deprecateAliases": true
120
+ "type": "boolean"
106
121
  },
107
122
  "loglevel": {
108
- "name": "loglevel",
109
- "type": "option",
110
- "hidden": true,
111
- "multiple": false,
112
123
  "deprecated": {
113
124
  "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
114
125
  },
115
- "deprecateAliases": true
126
+ "hidden": true,
127
+ "name": "loglevel",
128
+ "hasDynamicHelp": false,
129
+ "multiple": false,
130
+ "type": "option"
116
131
  }
117
132
  },
118
- "args": {}
119
- },
120
- "org:login:access-token": {
121
- "id": "org:login:access-token",
122
- "summary": "Authorize an org using an existing Salesforce access token.",
123
- "description": "By default, the command runs interactively and asks you for the access token. If you previously authorized the org, the command prompts whether you want to overwrite the local file. Specify --no-prompt to not be prompted.\n\nTo use the command in a CI/CD script, set the SFDX_ACCESS_TOKEN environment variable to the access token. Then run the command with the --no-prompt parameter.",
124
- "strict": true,
125
- "pluginName": "@salesforce/plugin-auth",
133
+ "hasDynamicHelp": false,
134
+ "hiddenAliases": [],
135
+ "id": "org:list:auth",
126
136
  "pluginAlias": "@salesforce/plugin-auth",
137
+ "pluginName": "@salesforce/plugin-auth",
127
138
  "pluginType": "core",
139
+ "strict": true,
140
+ "summary": "List authorization information about the orgs you created or logged into.",
141
+ "enableJsonFlag": true,
142
+ "SF_ENV": "SF_ENV",
143
+ "isESM": true,
144
+ "relativePath": [
145
+ "lib",
146
+ "commands",
147
+ "org",
148
+ "list",
149
+ "auth.js"
150
+ ],
151
+ "aliasPermutations": [
152
+ "force:auth:list",
153
+ "auth:force:list",
154
+ "auth:list:force",
155
+ "force:list:auth",
156
+ "list:force:auth",
157
+ "list:auth:force",
158
+ "auth:list",
159
+ "list:auth"
160
+ ],
161
+ "permutations": [
162
+ "org:list:auth",
163
+ "list:org:auth",
164
+ "list:auth:org",
165
+ "org:auth:list",
166
+ "auth:org:list",
167
+ "auth:list:org"
168
+ ]
169
+ },
170
+ "org:login:access-token": {
128
171
  "aliases": [
129
172
  "force:auth:accesstoken:store",
130
173
  "auth:accesstoken:store"
131
174
  ],
175
+ "args": {},
176
+ "deprecateAliases": true,
177
+ "description": "By default, the command runs interactively and asks you for the access token. If you previously authorized the org, the command prompts whether you want to overwrite the local file. Specify --no-prompt to not be prompted.\n\nTo use the command in a CI/CD script, set the SFDX_ACCESS_TOKEN environment variable to the access token. Then run the command with the --no-prompt parameter.",
132
178
  "examples": [
133
179
  "Authorize an org on https://mycompany.my.salesforce.com; the command prompts you for the access token:\n<%= config.bin %> <%= command.id %> --instance-url https://mycompany.my.salesforce.com",
134
180
  "Authorize the org without being prompted; you must have previously set the SFDX_ACCESS_TOKEN environment variable to the access token:\n<%= config.bin %> <%= command.id %> --instance-url https://dev-hub.my.salesforce.com --no-prompt"
135
181
  ],
136
- "deprecateAliases": true,
137
182
  "flags": {
138
183
  "json": {
139
- "name": "json",
140
- "type": "boolean",
141
184
  "description": "Format output as json.",
142
185
  "helpGroup": "GLOBAL",
186
+ "name": "json",
143
187
  "allowNo": false,
144
- "deprecateAliases": true
188
+ "type": "boolean"
145
189
  },
146
190
  "instance-url": {
147
- "name": "instance-url",
148
- "type": "option",
191
+ "aliases": [
192
+ "instanceurl"
193
+ ],
149
194
  "char": "r",
150
- "summary": "URL of the instance that the org lives on.",
195
+ "deprecateAliases": true,
151
196
  "description": "If you specify an --instance-url value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file.\n\nTo specify a My Domain URL, use the format https://yourcompanyname.my.salesforce.com.\n\nTo specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.",
197
+ "name": "instance-url",
152
198
  "required": true,
199
+ "summary": "URL of the instance that the org lives on.",
200
+ "hasDynamicHelp": false,
153
201
  "multiple": false,
154
- "deprecateAliases": true,
155
- "aliases": [
156
- "instanceurl"
157
- ]
202
+ "type": "option"
158
203
  },
159
204
  "set-default-dev-hub": {
160
- "name": "set-default-dev-hub",
161
- "type": "boolean",
162
- "char": "d",
163
- "summary": "Set the authenticated org as the default Dev Hub.",
164
- "allowNo": false,
165
- "deprecateAliases": true,
166
205
  "aliases": [
167
206
  "setdefaultdevhub",
168
207
  "setdefaultdevhubusername"
169
- ]
208
+ ],
209
+ "char": "d",
210
+ "deprecateAliases": true,
211
+ "name": "set-default-dev-hub",
212
+ "summary": "Set the authenticated org as the default Dev Hub.",
213
+ "allowNo": false,
214
+ "type": "boolean"
170
215
  },
171
216
  "set-default": {
172
- "name": "set-default",
173
- "type": "boolean",
217
+ "aliases": [
218
+ "setdefaultusername"
219
+ ],
174
220
  "char": "s",
221
+ "deprecateAliases": true,
222
+ "name": "set-default",
175
223
  "summary": "Set the authenticated org as the default that all org-related commands run against.",
176
224
  "allowNo": false,
177
- "deprecateAliases": true,
178
- "aliases": [
179
- "setdefaultusername"
180
- ]
225
+ "type": "boolean"
181
226
  },
182
227
  "alias": {
183
- "name": "alias",
184
- "type": "option",
228
+ "aliases": [
229
+ "setalias"
230
+ ],
185
231
  "char": "a",
232
+ "deprecateAliases": true,
233
+ "name": "alias",
186
234
  "summary": "Alias for the org.",
235
+ "hasDynamicHelp": false,
187
236
  "multiple": false,
188
- "deprecateAliases": true,
189
- "aliases": [
190
- "setalias"
191
- ]
237
+ "type": "option"
192
238
  },
193
239
  "no-prompt": {
194
- "name": "no-prompt",
195
- "type": "boolean",
240
+ "aliases": [
241
+ "noprompt"
242
+ ],
196
243
  "char": "p",
197
- "summary": "Don't prompt for confirmation.",
244
+ "deprecateAliases": true,
245
+ "name": "no-prompt",
198
246
  "required": false,
247
+ "summary": "Don't prompt for confirmation.",
199
248
  "allowNo": false,
200
- "deprecateAliases": true,
201
- "aliases": [
202
- "noprompt"
203
- ]
249
+ "type": "boolean"
204
250
  },
205
251
  "loglevel": {
206
- "name": "loglevel",
207
- "type": "option",
208
- "hidden": true,
209
- "multiple": false,
210
252
  "deprecated": {
211
253
  "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
212
254
  },
213
- "deprecateAliases": true
255
+ "hidden": true,
256
+ "name": "loglevel",
257
+ "hasDynamicHelp": false,
258
+ "multiple": false,
259
+ "type": "option"
214
260
  }
215
261
  },
216
- "args": {}
217
- },
218
- "org:login:device": {
219
- "id": "org:login:device",
220
- "summary": "Authorize an org using a device code.",
221
- "description": "Use this command to allow a device to connect to an org.\n\nWhen you run this command, it first displays an 8-digit device code and the URL for verifying the code on your org. The default instance URL is https://login.salesforce.com, so if the org you're authorizing is on a different instance, use the --instance-url. The command waits while you complete the verification. Open a browser and navigate to the displayed verification URL, enter the code, then click Connect. If you aren't already logged into your org, log in, and then you're prompted to allow the device to connect to the org. After you successfully authorize the org, you can close the browser window.",
222
- "strict": true,
223
- "pluginName": "@salesforce/plugin-auth",
262
+ "hasDynamicHelp": false,
263
+ "hiddenAliases": [],
264
+ "id": "org:login:access-token",
224
265
  "pluginAlias": "@salesforce/plugin-auth",
266
+ "pluginName": "@salesforce/plugin-auth",
225
267
  "pluginType": "core",
268
+ "strict": true,
269
+ "summary": "Authorize an org using an existing Salesforce access token.",
270
+ "isESM": true,
271
+ "relativePath": [
272
+ "lib",
273
+ "commands",
274
+ "org",
275
+ "login",
276
+ "access-token.js"
277
+ ],
278
+ "aliasPermutations": [
279
+ "force:auth:accesstoken:store",
280
+ "auth:force:accesstoken:store",
281
+ "auth:accesstoken:force:store",
282
+ "auth:accesstoken:store:force",
283
+ "force:accesstoken:auth:store",
284
+ "accesstoken:force:auth:store",
285
+ "accesstoken:auth:force:store",
286
+ "accesstoken:auth:store:force",
287
+ "force:accesstoken:store:auth",
288
+ "accesstoken:force:store:auth",
289
+ "accesstoken:store:force:auth",
290
+ "accesstoken:store:auth:force",
291
+ "force:auth:store:accesstoken",
292
+ "auth:force:store:accesstoken",
293
+ "auth:store:force:accesstoken",
294
+ "auth:store:accesstoken:force",
295
+ "force:store:auth:accesstoken",
296
+ "store:force:auth:accesstoken",
297
+ "store:auth:force:accesstoken",
298
+ "store:auth:accesstoken:force",
299
+ "force:store:accesstoken:auth",
300
+ "store:force:accesstoken:auth",
301
+ "store:accesstoken:force:auth",
302
+ "store:accesstoken:auth:force",
303
+ "auth:accesstoken:store",
304
+ "accesstoken:auth:store",
305
+ "accesstoken:store:auth",
306
+ "auth:store:accesstoken",
307
+ "store:auth:accesstoken",
308
+ "store:accesstoken:auth"
309
+ ],
310
+ "permutations": [
311
+ "org:login:access-token",
312
+ "login:org:access-token",
313
+ "login:access-token:org",
314
+ "org:access-token:login",
315
+ "access-token:org:login",
316
+ "access-token:login:org"
317
+ ]
318
+ },
319
+ "org:login:device": {
226
320
  "aliases": [
227
321
  "force:auth:device:login",
228
322
  "auth:device:login"
229
323
  ],
324
+ "args": {},
325
+ "description": "Use this command to allow a device to connect to an org.\n\nWhen you run this command, it first displays an 8-digit device code and the URL for verifying the code on your org. The default instance URL is https://login.salesforce.com, so if the org you're authorizing is on a different instance, use the --instance-url. The command waits while you complete the verification. Open a browser and navigate to the displayed verification URL, enter the code, then click Connect. If you aren't already logged into your org, log in, and then you're prompted to allow the device to connect to the org. After you successfully authorize the org, you can close the browser window.",
230
326
  "examples": [
231
327
  "Authorize an org using a device code, give the org the alias TestOrg1, and set it as your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --set-default-dev-hub --alias TestOrg1",
232
328
  "Authorize an org in which you've created a custom connected app with the specified client ID (consumer key):\n<%= config.bin %> <%= command.id %> --client-id <OAuth client id>",
@@ -234,98 +330,158 @@
234
330
  ],
235
331
  "flags": {
236
332
  "json": {
237
- "name": "json",
238
- "type": "boolean",
239
333
  "description": "Format output as json.",
240
334
  "helpGroup": "GLOBAL",
241
- "allowNo": false
335
+ "name": "json",
336
+ "allowNo": false,
337
+ "type": "boolean"
242
338
  },
243
339
  "client-id": {
244
- "name": "client-id",
245
- "type": "option",
340
+ "aliases": [
341
+ "clientid"
342
+ ],
246
343
  "char": "i",
344
+ "deprecateAliases": true,
345
+ "name": "client-id",
247
346
  "summary": "OAuth client ID (also called consumer key) of your custom connected app.",
347
+ "hasDynamicHelp": false,
248
348
  "multiple": false,
249
- "aliases": [
250
- "clientid"
251
- ]
349
+ "type": "option"
252
350
  },
253
351
  "instance-url": {
254
- "name": "instance-url",
255
- "type": "option",
352
+ "aliases": [
353
+ "instanceurl"
354
+ ],
256
355
  "char": "r",
257
- "summary": "URL of the instance that the org lives on.",
356
+ "deprecateAliases": true,
258
357
  "description": "If you specify an --instance-url value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file.\n\nTo specify a My Domain URL, use the format https://yourcompanyname.my.salesforce.com.\n\nTo specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.",
358
+ "name": "instance-url",
359
+ "summary": "URL of the instance that the org lives on.",
360
+ "hasDynamicHelp": false,
259
361
  "multiple": false,
260
- "aliases": [
261
- "instanceurl"
262
- ]
362
+ "type": "option"
263
363
  },
264
364
  "set-default-dev-hub": {
265
- "name": "set-default-dev-hub",
266
- "type": "boolean",
267
- "char": "d",
268
- "summary": "Set the authenticated org as the default Dev Hub.",
269
- "allowNo": false,
270
365
  "aliases": [
271
366
  "setdefaultdevhub",
272
367
  "setdefaultdevhubusername"
273
- ]
368
+ ],
369
+ "char": "d",
370
+ "deprecateAliases": true,
371
+ "name": "set-default-dev-hub",
372
+ "summary": "Set the authenticated org as the default Dev Hub.",
373
+ "allowNo": false,
374
+ "type": "boolean"
274
375
  },
275
376
  "set-default": {
276
- "name": "set-default",
277
- "type": "boolean",
377
+ "aliases": [
378
+ "setdefaultusername"
379
+ ],
278
380
  "char": "s",
381
+ "deprecateAliases": true,
382
+ "name": "set-default",
279
383
  "summary": "Set the authenticated org as the default that all org-related commands run against.",
280
384
  "allowNo": false,
281
- "aliases": [
282
- "setdefaultusername"
283
- ]
385
+ "type": "boolean"
284
386
  },
285
387
  "alias": {
286
- "name": "alias",
287
- "type": "option",
388
+ "aliases": [
389
+ "setalias"
390
+ ],
288
391
  "char": "a",
392
+ "deprecateAliases": true,
393
+ "name": "alias",
289
394
  "summary": "Alias for the org.",
395
+ "hasDynamicHelp": false,
290
396
  "multiple": false,
291
- "aliases": [
292
- "setalias"
293
- ]
397
+ "type": "option"
294
398
  },
295
399
  "disable-masking": {
400
+ "aliases": [
401
+ "disablemasking"
402
+ ],
403
+ "deprecateAliases": true,
404
+ "hidden": true,
296
405
  "name": "disable-masking",
297
- "type": "boolean",
298
406
  "summary": "Disable masking of user input; use with problematic terminals.",
299
- "hidden": true,
300
407
  "allowNo": false,
301
- "aliases": [
302
- "disablemasking"
303
- ]
408
+ "type": "boolean"
304
409
  },
305
410
  "loglevel": {
306
- "name": "loglevel",
307
- "type": "option",
308
- "hidden": true,
309
- "multiple": false,
310
411
  "deprecated": {
311
412
  "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
312
- }
413
+ },
414
+ "hidden": true,
415
+ "name": "loglevel",
416
+ "hasDynamicHelp": false,
417
+ "multiple": false,
418
+ "type": "option"
313
419
  }
314
420
  },
315
- "args": {}
316
- },
317
- "org:login:jwt": {
318
- "id": "org:login:jwt",
319
- "summary": "Log in to a Salesforce org using a JSON web token (JWT).",
320
- "description": "Use this command in automated environments where you can’t interactively log in with a browser, such as in CI/CD scripts.\n\nLogging into an org authorizes the CLI to run other commands that connect to that org, such as deploying or retrieving a project. You can log into many types of orgs, such as sandboxes, Dev Hubs, Env Hubs, production orgs, and scratch orgs.\n\nComplete these steps before you run this command:\n\n 1. Create a digital certificate (also called digital signature) and the private key to sign the certificate. You can use your own key and certificate issued by a certification authority. Or use OpenSSL to create a key and a self-signed digital certificate.\n 2. Store the private key in a file on your computer. When you run this command, you set the --jwt-key-file flag to this file.\n 3. Create a custom connected app in your org using the digital certificate. Make note of the consumer key (also called client id) that’s generated for you. Be sure the username of the user logging in is approved to use the connected app. When you run this command, you set the --client-id flag to the consumer key.\n\nSee https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_jwt_flow.htm for more information.\n\nWe recommend that you set an alias when you log into an org. Aliases make it easy to later reference this org when running commands that require it. If you don’t set an alias, you use the username that you specified when you logged in to the org. If you run multiple commands that reference the same org, consider setting the org as your default. Use --set-default for your default scratch org or sandbox, or --set-default-dev-hub for your default Dev Hub.",
321
- "strict": true,
322
- "pluginName": "@salesforce/plugin-auth",
421
+ "hasDynamicHelp": false,
422
+ "hiddenAliases": [],
423
+ "id": "org:login:device",
323
424
  "pluginAlias": "@salesforce/plugin-auth",
425
+ "pluginName": "@salesforce/plugin-auth",
324
426
  "pluginType": "core",
427
+ "strict": true,
428
+ "summary": "Authorize an org using a device code.",
429
+ "isESM": true,
430
+ "relativePath": [
431
+ "lib",
432
+ "commands",
433
+ "org",
434
+ "login",
435
+ "device.js"
436
+ ],
437
+ "aliasPermutations": [
438
+ "force:auth:device:login",
439
+ "auth:force:device:login",
440
+ "auth:device:force:login",
441
+ "auth:device:login:force",
442
+ "force:device:auth:login",
443
+ "device:force:auth:login",
444
+ "device:auth:force:login",
445
+ "device:auth:login:force",
446
+ "force:device:login:auth",
447
+ "device:force:login:auth",
448
+ "device:login:force:auth",
449
+ "device:login:auth:force",
450
+ "force:auth:login:device",
451
+ "auth:force:login:device",
452
+ "auth:login:force:device",
453
+ "auth:login:device:force",
454
+ "force:login:auth:device",
455
+ "login:force:auth:device",
456
+ "login:auth:force:device",
457
+ "login:auth:device:force",
458
+ "force:login:device:auth",
459
+ "login:force:device:auth",
460
+ "login:device:force:auth",
461
+ "login:device:auth:force",
462
+ "auth:device:login",
463
+ "device:auth:login",
464
+ "device:login:auth",
465
+ "auth:login:device",
466
+ "login:auth:device",
467
+ "login:device:auth"
468
+ ],
469
+ "permutations": [
470
+ "org:login:device",
471
+ "login:org:device",
472
+ "login:device:org",
473
+ "org:device:login",
474
+ "device:org:login",
475
+ "device:login:org"
476
+ ]
477
+ },
478
+ "org:login:jwt": {
325
479
  "aliases": [
326
480
  "force:auth:jwt:grant",
327
481
  "auth:jwt:grant"
328
482
  ],
483
+ "args": {},
484
+ "description": "Use this command in automated environments where you can’t interactively log in with a browser, such as in CI/CD scripts.\n\nLogging into an org authorizes the CLI to run other commands that connect to that org, such as deploying or retrieving a project. You can log into many types of orgs, such as sandboxes, Dev Hubs, Env Hubs, production orgs, and scratch orgs.\n\nComplete these steps before you run this command:\n\n 1. Create a digital certificate (also called digital signature) and the private key to sign the certificate. You can use your own key and certificate issued by a certification authority. Or use OpenSSL to create a key and a self-signed digital certificate.\n 2. Store the private key in a file on your computer. When you run this command, you set the --jwt-key-file flag to this file.\n 3. Create a custom connected app in your org using the digital certificate. Make note of the consumer key (also called client id) that’s generated for you. Be sure the username of the user logging in is approved to use the connected app. When you run this command, you set the --client-id flag to the consumer key.\n\nSee https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_auth_jwt_flow.htm for more information.\n\nWe recommend that you set an alias when you log into an org. Aliases make it easy to later reference this org when running commands that require it. If you don’t set an alias, you use the username that you specified when you logged in to the org. If you run multiple commands that reference the same org, consider setting the org as your default. Use --set-default for your default scratch org or sandbox, or --set-default-dev-hub for your default Dev Hub.",
329
485
  "examples": [
330
486
  "Log into an org with username jdoe@example.org and on the default instance URL (https://login.salesforce.org). The private key is stored in the file /Users/jdoe/JWT/server.key and the command uses the connected app with consumer key (client id) 04580y4051234051.\n<%= config.bin %> <%= command.id %> --username jdoe@example.org --jwt-key-file /Users/jdoe/JWT/server.key --client-id 04580y4051234051",
331
487
  "Set the org as the default and give it an alias:\n<%= config.bin %> <%= command.id %> --username jdoe@example.org --jwt-key-file /Users/jdoe/JWT/server.key --client-id 04580y4051234051 --alias ci-org --set-default",
@@ -334,216 +490,339 @@
334
490
  ],
335
491
  "flags": {
336
492
  "json": {
337
- "name": "json",
338
- "type": "boolean",
339
493
  "description": "Format output as json.",
340
494
  "helpGroup": "GLOBAL",
341
- "allowNo": false
495
+ "name": "json",
496
+ "allowNo": false,
497
+ "type": "boolean"
342
498
  },
343
499
  "username": {
344
- "name": "username",
345
- "type": "option",
500
+ "aliases": [
501
+ "u"
502
+ ],
346
503
  "char": "o",
347
- "summary": "Username of the user logging in.",
504
+ "deprecateAliases": true,
505
+ "name": "username",
348
506
  "required": true,
507
+ "summary": "Username of the user logging in.",
508
+ "hasDynamicHelp": false,
349
509
  "multiple": false,
350
- "aliases": [
351
- "u"
352
- ]
510
+ "type": "option"
353
511
  },
354
512
  "jwt-key-file": {
355
- "name": "jwt-key-file",
356
- "type": "option",
357
- "char": "f",
358
- "summary": "Path to a file containing the private key.",
359
- "required": true,
360
- "multiple": false,
361
513
  "aliases": [
362
514
  "jwtkeyfile",
363
515
  "keyfile"
364
- ]
516
+ ],
517
+ "char": "f",
518
+ "deprecateAliases": true,
519
+ "name": "jwt-key-file",
520
+ "required": true,
521
+ "summary": "Path to a file containing the private key.",
522
+ "hasDynamicHelp": false,
523
+ "multiple": false,
524
+ "type": "option"
365
525
  },
366
526
  "client-id": {
367
- "name": "client-id",
368
- "type": "option",
527
+ "aliases": [
528
+ "clientid"
529
+ ],
369
530
  "char": "i",
370
- "summary": "OAuth client ID (also called consumer key) of your custom connected app.",
531
+ "deprecateAliases": true,
532
+ "name": "client-id",
371
533
  "required": true,
534
+ "summary": "OAuth client ID (also called consumer key) of your custom connected app.",
535
+ "hasDynamicHelp": false,
372
536
  "multiple": false,
373
- "aliases": [
374
- "clientid"
375
- ]
537
+ "type": "option"
376
538
  },
377
539
  "instance-url": {
378
- "name": "instance-url",
379
- "type": "option",
380
- "char": "r",
381
- "summary": "URL of the instance that the org lives on.",
382
- "description": "If you specify an --instance-url value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file.\n\nTo specify a My Domain URL, use the format https://yourcompanyname.my.salesforce.com.\n\nTo specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.",
383
- "multiple": false,
384
540
  "aliases": [
385
541
  "instanceurl",
386
542
  "l"
387
- ]
543
+ ],
544
+ "char": "r",
545
+ "deprecateAliases": true,
546
+ "description": "If you specify an --instance-url value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file.\n\nTo specify a My Domain URL, use the format https://yourcompanyname.my.salesforce.com.\n\nTo specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.",
547
+ "name": "instance-url",
548
+ "summary": "URL of the instance that the org lives on.",
549
+ "hasDynamicHelp": false,
550
+ "multiple": false,
551
+ "type": "option"
388
552
  },
389
553
  "set-default-dev-hub": {
390
- "name": "set-default-dev-hub",
391
- "type": "boolean",
392
- "char": "d",
393
- "summary": "Set the authenticated org as the default Dev Hub.",
394
- "allowNo": false,
395
554
  "aliases": [
396
555
  "setdefaultdevhub",
397
556
  "setdefaultdevhubusername",
398
557
  "v"
399
- ]
558
+ ],
559
+ "char": "d",
560
+ "deprecateAliases": true,
561
+ "name": "set-default-dev-hub",
562
+ "summary": "Set the authenticated org as the default Dev Hub.",
563
+ "allowNo": false,
564
+ "type": "boolean"
400
565
  },
401
566
  "set-default": {
402
- "name": "set-default",
403
- "type": "boolean",
567
+ "aliases": [
568
+ "setdefaultusername"
569
+ ],
404
570
  "char": "s",
571
+ "deprecateAliases": true,
572
+ "name": "set-default",
405
573
  "summary": "Set the authenticated org as the default that all org-related commands run against.",
406
574
  "allowNo": false,
407
- "aliases": [
408
- "setdefaultusername"
409
- ]
575
+ "type": "boolean"
410
576
  },
411
577
  "alias": {
412
- "name": "alias",
413
- "type": "option",
578
+ "aliases": [
579
+ "setalias"
580
+ ],
414
581
  "char": "a",
582
+ "deprecateAliases": true,
583
+ "name": "alias",
415
584
  "summary": "Alias for the org.",
585
+ "hasDynamicHelp": false,
416
586
  "multiple": false,
417
- "aliases": [
418
- "setalias"
419
- ]
587
+ "type": "option"
420
588
  },
421
589
  "no-prompt": {
422
- "name": "no-prompt",
423
- "type": "boolean",
590
+ "aliases": [
591
+ "noprompt"
592
+ ],
424
593
  "char": "p",
425
- "summary": "Don't prompt for confirmation.",
594
+ "deprecateAliases": true,
426
595
  "hidden": true,
596
+ "name": "no-prompt",
427
597
  "required": false,
598
+ "summary": "Don't prompt for confirmation.",
428
599
  "allowNo": false,
429
- "aliases": [
430
- "noprompt"
431
- ]
600
+ "type": "boolean"
432
601
  },
433
602
  "loglevel": {
434
- "name": "loglevel",
435
- "type": "option",
436
- "hidden": true,
437
- "multiple": false,
438
603
  "deprecated": {
439
604
  "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
440
- }
605
+ },
606
+ "hidden": true,
607
+ "name": "loglevel",
608
+ "hasDynamicHelp": false,
609
+ "multiple": false,
610
+ "type": "option"
441
611
  }
442
612
  },
443
- "args": {}
444
- },
445
- "org:login:sfdx-url": {
446
- "id": "org:login:sfdx-url",
447
- "summary": "Authorize an org using a Salesforce DX authorization URL stored in a file.",
448
- "description": "The Salesforce DX (SFDX) authorization URL must have the format \"force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>\". NOTE: The SFDX authorization URL uses the \"force\" protocol, and not \"http\" or \"https\". Also, the \"instanceUrl\" inside the SFDX authorization URL doesn't include the protocol (\"https://\").\n\nYou have three options when creating the authorization file. The easiest option is to redirect the output of the \"<%= config.bin %> org display --verbose --json\" command into a file. For example, using an org with alias my-org that you've already authorized:\n\n $ <%= config.bin %> org display --target-org my-org --verbose --json > authFile.json\n\nThe resulting JSON file contains the URL in the \"sfdxAuthUrl\" property of the \"result\" object. You can then reference the file when running this command:\n\n $ <%= config.bin %> <%= command.id %> --sfdx-url-file authFile.json\n\nNOTE: The \"<%= config.bin %> org display --verbose\" command displays the refresh token only for orgs authorized with the web server flow, and not the JWT bearer flow.\n\nYou can also create a JSON file that has a top-level property named sfdxAuthUrl whose value is the authorization URL. Finally, you can create a normal text file that includes just the URL and nothing else.",
449
- "strict": true,
450
- "pluginName": "@salesforce/plugin-auth",
613
+ "hasDynamicHelp": false,
614
+ "hiddenAliases": [],
615
+ "id": "org:login:jwt",
451
616
  "pluginAlias": "@salesforce/plugin-auth",
617
+ "pluginName": "@salesforce/plugin-auth",
452
618
  "pluginType": "core",
619
+ "strict": true,
620
+ "summary": "Log in to a Salesforce org using a JSON web token (JWT).",
621
+ "isESM": true,
622
+ "relativePath": [
623
+ "lib",
624
+ "commands",
625
+ "org",
626
+ "login",
627
+ "jwt.js"
628
+ ],
629
+ "aliasPermutations": [
630
+ "force:auth:jwt:grant",
631
+ "auth:force:jwt:grant",
632
+ "auth:jwt:force:grant",
633
+ "auth:jwt:grant:force",
634
+ "force:jwt:auth:grant",
635
+ "jwt:force:auth:grant",
636
+ "jwt:auth:force:grant",
637
+ "jwt:auth:grant:force",
638
+ "force:jwt:grant:auth",
639
+ "jwt:force:grant:auth",
640
+ "jwt:grant:force:auth",
641
+ "jwt:grant:auth:force",
642
+ "force:auth:grant:jwt",
643
+ "auth:force:grant:jwt",
644
+ "auth:grant:force:jwt",
645
+ "auth:grant:jwt:force",
646
+ "force:grant:auth:jwt",
647
+ "grant:force:auth:jwt",
648
+ "grant:auth:force:jwt",
649
+ "grant:auth:jwt:force",
650
+ "force:grant:jwt:auth",
651
+ "grant:force:jwt:auth",
652
+ "grant:jwt:force:auth",
653
+ "grant:jwt:auth:force",
654
+ "auth:jwt:grant",
655
+ "jwt:auth:grant",
656
+ "jwt:grant:auth",
657
+ "auth:grant:jwt",
658
+ "grant:auth:jwt",
659
+ "grant:jwt:auth"
660
+ ],
661
+ "permutations": [
662
+ "org:login:jwt",
663
+ "login:org:jwt",
664
+ "login:jwt:org",
665
+ "org:jwt:login",
666
+ "jwt:org:login",
667
+ "jwt:login:org"
668
+ ]
669
+ },
670
+ "org:login:sfdx-url": {
453
671
  "aliases": [
454
672
  "force:auth:sfdxurl:store",
455
673
  "auth:sfdxurl:store"
456
674
  ],
675
+ "args": {},
676
+ "description": "The Salesforce DX (SFDX) authorization URL must have the format \"force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>\". NOTE: The SFDX authorization URL uses the \"force\" protocol, and not \"http\" or \"https\". Also, the \"instanceUrl\" inside the SFDX authorization URL doesn't include the protocol (\"https://\").\n\nYou have three options when creating the authorization file. The easiest option is to redirect the output of the \"<%= config.bin %> org display --verbose --json\" command into a file. For example, using an org with alias my-org that you've already authorized:\n\n $ <%= config.bin %> org display --target-org my-org --verbose --json > authFile.json\n\nThe resulting JSON file contains the URL in the \"sfdxAuthUrl\" property of the \"result\" object. You can then reference the file when running this command:\n\n $ <%= config.bin %> <%= command.id %> --sfdx-url-file authFile.json\n\nNOTE: The \"<%= config.bin %> org display --verbose\" command displays the refresh token only for orgs authorized with the web server flow, and not the JWT bearer flow.\n\nYou can also create a JSON file that has a top-level property named sfdxAuthUrl whose value is the authorization URL. Finally, you can create a normal text file that includes just the URL and nothing else.",
457
677
  "examples": [
458
678
  "Authorize an org using the SFDX authorization URL in the files/authFile.json file:\n<%= config.bin %> <%= command.id %> --sfdx-url-file files/authFile.json",
459
679
  "Similar to previous example, but set the org as your default and give it an alias MyDefaultOrg:\n<%= config.bin %> <%= command.id %> --sfdx-url-file files/authFile.json --set-default --alias MyDefaultOrg"
460
680
  ],
461
681
  "flags": {
462
682
  "json": {
463
- "name": "json",
464
- "type": "boolean",
465
683
  "description": "Format output as json.",
466
684
  "helpGroup": "GLOBAL",
467
- "allowNo": false
685
+ "name": "json",
686
+ "allowNo": false,
687
+ "type": "boolean"
468
688
  },
469
689
  "sfdx-url-file": {
470
- "name": "sfdx-url-file",
471
- "type": "option",
690
+ "aliases": [
691
+ "sfdxurlfile"
692
+ ],
472
693
  "char": "f",
473
- "summary": "Path to a file that contains the Salesforce DX authorization URL.",
694
+ "deprecateAliases": true,
695
+ "name": "sfdx-url-file",
474
696
  "required": true,
697
+ "summary": "Path to a file that contains the Salesforce DX authorization URL.",
698
+ "hasDynamicHelp": false,
475
699
  "multiple": false,
476
- "aliases": [
477
- "sfdxurlfile"
478
- ]
700
+ "type": "option"
479
701
  },
480
702
  "set-default-dev-hub": {
481
- "name": "set-default-dev-hub",
482
- "type": "boolean",
483
- "char": "d",
484
- "summary": "Set the authenticated org as the default Dev Hub.",
485
- "allowNo": false,
486
703
  "aliases": [
487
704
  "setdefaultdevhub",
488
705
  "setdefaultdevhubusername"
489
- ]
706
+ ],
707
+ "char": "d",
708
+ "deprecateAliases": true,
709
+ "name": "set-default-dev-hub",
710
+ "summary": "Set the authenticated org as the default Dev Hub.",
711
+ "allowNo": false,
712
+ "type": "boolean"
490
713
  },
491
714
  "set-default": {
492
- "name": "set-default",
493
- "type": "boolean",
715
+ "aliases": [
716
+ "setdefaultusername"
717
+ ],
494
718
  "char": "s",
719
+ "deprecateAliases": true,
720
+ "name": "set-default",
495
721
  "summary": "Set the authenticated org as the default that all org-related commands run against.",
496
722
  "allowNo": false,
497
- "aliases": [
498
- "setdefaultusername"
499
- ]
723
+ "type": "boolean"
500
724
  },
501
725
  "alias": {
502
- "name": "alias",
503
- "type": "option",
726
+ "aliases": [
727
+ "setalias"
728
+ ],
504
729
  "char": "a",
730
+ "deprecateAliases": true,
731
+ "name": "alias",
505
732
  "summary": "Alias for the org.",
733
+ "hasDynamicHelp": false,
506
734
  "multiple": false,
507
- "aliases": [
508
- "setalias"
509
- ]
735
+ "type": "option"
510
736
  },
511
737
  "no-prompt": {
512
- "name": "no-prompt",
513
- "type": "boolean",
738
+ "aliases": [
739
+ "noprompt"
740
+ ],
514
741
  "char": "p",
515
- "summary": "Don't prompt for confirmation.",
742
+ "deprecateAliases": true,
516
743
  "hidden": true,
744
+ "name": "no-prompt",
517
745
  "required": false,
746
+ "summary": "Don't prompt for confirmation.",
518
747
  "allowNo": false,
519
- "aliases": [
520
- "noprompt"
521
- ]
748
+ "type": "boolean"
522
749
  },
523
750
  "loglevel": {
524
- "name": "loglevel",
525
- "type": "option",
526
- "hidden": true,
527
- "multiple": false,
528
751
  "deprecated": {
529
752
  "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
530
- }
753
+ },
754
+ "hidden": true,
755
+ "name": "loglevel",
756
+ "hasDynamicHelp": false,
757
+ "multiple": false,
758
+ "type": "option"
531
759
  }
532
760
  },
533
- "args": {}
534
- },
535
- "org:login:web": {
536
- "id": "org:login:web",
537
- "summary": "Log in to a Salesforce org using the web server flow.",
538
- "description": "Opens a Salesforce instance URL in a web browser so you can enter your credentials and log in to your org. After you log in, you can close the browser window.\n\nLogging into an org authorizes the CLI to run other commands that connect to that org, such as deploying or retrieving metadata. You can log into many types of orgs, such as sandboxes, Dev Hubs, Env Hubs, production orgs, and scratch orgs.\n\nWe recommend that you set an alias when you log into an org. Aliases make it easy to later reference this org when running commands that require it. If you don’t set an alias, you use the username that you specified when you logged in to the org. If you run multiple commands that reference the same org, consider setting the org as your default. Use --set-default for your default scratch org or sandbox, or --set-default-dev-hub for your default Dev Hub.\n\nBy default, this command uses the global out-of-the-box connected app in your org. If you need more security or control, such as setting the refresh token timeout or specifying IP ranges, create your own connected app using a digital certificate. Make note of the consumer key (also called cliend id) that’s generated for you. Then specify the consumer key with the --client-id flag.",
539
- "strict": true,
540
- "pluginName": "@salesforce/plugin-auth",
761
+ "hasDynamicHelp": false,
762
+ "hiddenAliases": [],
763
+ "id": "org:login:sfdx-url",
541
764
  "pluginAlias": "@salesforce/plugin-auth",
765
+ "pluginName": "@salesforce/plugin-auth",
542
766
  "pluginType": "core",
767
+ "strict": true,
768
+ "summary": "Authorize an org using a Salesforce DX authorization URL stored in a file.",
769
+ "isESM": true,
770
+ "relativePath": [
771
+ "lib",
772
+ "commands",
773
+ "org",
774
+ "login",
775
+ "sfdx-url.js"
776
+ ],
777
+ "aliasPermutations": [
778
+ "force:auth:sfdxurl:store",
779
+ "auth:force:sfdxurl:store",
780
+ "auth:sfdxurl:force:store",
781
+ "auth:sfdxurl:store:force",
782
+ "force:sfdxurl:auth:store",
783
+ "sfdxurl:force:auth:store",
784
+ "sfdxurl:auth:force:store",
785
+ "sfdxurl:auth:store:force",
786
+ "force:sfdxurl:store:auth",
787
+ "sfdxurl:force:store:auth",
788
+ "sfdxurl:store:force:auth",
789
+ "sfdxurl:store:auth:force",
790
+ "force:auth:store:sfdxurl",
791
+ "auth:force:store:sfdxurl",
792
+ "auth:store:force:sfdxurl",
793
+ "auth:store:sfdxurl:force",
794
+ "force:store:auth:sfdxurl",
795
+ "store:force:auth:sfdxurl",
796
+ "store:auth:force:sfdxurl",
797
+ "store:auth:sfdxurl:force",
798
+ "force:store:sfdxurl:auth",
799
+ "store:force:sfdxurl:auth",
800
+ "store:sfdxurl:force:auth",
801
+ "store:sfdxurl:auth:force",
802
+ "auth:sfdxurl:store",
803
+ "sfdxurl:auth:store",
804
+ "sfdxurl:store:auth",
805
+ "auth:store:sfdxurl",
806
+ "store:auth:sfdxurl",
807
+ "store:sfdxurl:auth"
808
+ ],
809
+ "permutations": [
810
+ "org:login:sfdx-url",
811
+ "login:org:sfdx-url",
812
+ "login:sfdx-url:org",
813
+ "org:sfdx-url:login",
814
+ "sfdx-url:org:login",
815
+ "sfdx-url:login:org"
816
+ ]
817
+ },
818
+ "org:login:web": {
543
819
  "aliases": [
544
820
  "force:auth:web:login",
545
821
  "auth:web:login"
546
822
  ],
823
+ "args": {},
824
+ "deprecateAliases": true,
825
+ "description": "Opens a Salesforce instance URL in a web browser so you can enter your credentials and log in to your org. After you log in, you can close the browser window.\n\nLogging into an org authorizes the CLI to run other commands that connect to that org, such as deploying or retrieving metadata. You can log into many types of orgs, such as sandboxes, Dev Hubs, Env Hubs, production orgs, and scratch orgs.\n\nWe recommend that you set an alias when you log into an org. Aliases make it easy to later reference this org when running commands that require it. If you don’t set an alias, you use the username that you specified when you logged in to the org. If you run multiple commands that reference the same org, consider setting the org as your default. Use --set-default for your default scratch org or sandbox, or --set-default-dev-hub for your default Dev Hub.\n\nBy default, this command uses the global out-of-the-box connected app in your org. If you need more security or control, such as setting the refresh token timeout or specifying IP ranges, create your own connected app using a digital certificate. Make note of the consumer key (also called cliend id) that’s generated for you. Then specify the consumer key with the --client-id flag.",
547
826
  "examples": [
548
827
  "Run the command with no flags to open the default Salesforce login page (https://login.salesforce.com):\n<%= config.bin %> <%= command.id %>",
549
828
  "Log in to your Dev Hub, set it as your default Dev Hub, and set an alias that you reference later when you create a scratch org:\n<%= config.bin %> <%= command.id %> --set-default-dev-hub --alias dev-hub",
@@ -551,125 +830,182 @@
551
830
  "Use --browser to specify a specific browser, such as Google Chrome:\n<%= config.bin %> <%= command.id %> --instance-url https://MyDomainName--SandboxName.sandbox.my.salesforce.com --set-default --browser chrome",
552
831
  "Use your own connected app by specifying its consumer key (also called client ID):\n<%= config.bin %> <%= command.id %> --instance-url https://MyDomainName--SandboxName.sandbox.my.salesforce.com --set-default --browser chrome --client-id 04580y4051234051"
553
832
  ],
554
- "deprecateAliases": true,
555
833
  "flags": {
556
834
  "json": {
557
- "name": "json",
558
- "type": "boolean",
559
835
  "description": "Format output as json.",
560
836
  "helpGroup": "GLOBAL",
837
+ "name": "json",
561
838
  "allowNo": false,
562
- "deprecateAliases": true
839
+ "type": "boolean"
563
840
  },
564
841
  "browser": {
565
- "name": "browser",
566
- "type": "option",
567
842
  "char": "b",
568
- "summary": "Browser in which to open the org.",
569
843
  "description": "If you don’t specify --browser, the command uses your default browser. The exact names of the browser applications differ depending on the operating system you're on; check your documentation for details.",
844
+ "name": "browser",
845
+ "summary": "Browser in which to open the org.",
846
+ "hasDynamicHelp": false,
570
847
  "multiple": false,
571
848
  "options": [
572
849
  "chrome",
573
850
  "edge",
574
851
  "firefox"
575
852
  ],
576
- "deprecateAliases": true
853
+ "type": "option"
577
854
  },
578
855
  "client-id": {
579
- "name": "client-id",
580
- "type": "option",
856
+ "aliases": [
857
+ "clientid"
858
+ ],
581
859
  "char": "i",
860
+ "deprecateAliases": true,
861
+ "name": "client-id",
582
862
  "summary": "OAuth client ID (also called consumer key) of your custom connected app.",
863
+ "hasDynamicHelp": false,
583
864
  "multiple": false,
584
- "deprecateAliases": true,
585
- "aliases": [
586
- "clientid"
587
- ]
865
+ "type": "option"
588
866
  },
589
867
  "instance-url": {
590
- "name": "instance-url",
591
- "type": "option",
592
- "char": "r",
593
- "summary": "URL of the instance that the org lives on.",
594
- "description": "If you specify an --instance-url value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file.\n\nTo specify a My Domain URL, use the format https://yourcompanyname.my.salesforce.com.\n\nTo specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.",
595
- "multiple": false,
596
- "deprecateAliases": true,
597
868
  "aliases": [
598
869
  "instanceurl",
599
870
  "l"
600
- ]
871
+ ],
872
+ "char": "r",
873
+ "deprecateAliases": true,
874
+ "description": "If you specify an --instance-url value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file.\n\nTo specify a My Domain URL, use the format https://yourcompanyname.my.salesforce.com.\n\nTo specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.",
875
+ "name": "instance-url",
876
+ "summary": "URL of the instance that the org lives on.",
877
+ "hasDynamicHelp": false,
878
+ "multiple": false,
879
+ "type": "option"
601
880
  },
602
881
  "set-default-dev-hub": {
603
- "name": "set-default-dev-hub",
604
- "type": "boolean",
605
- "char": "d",
606
- "summary": "Set the authenticated org as the default Dev Hub.",
607
- "allowNo": false,
608
- "deprecateAliases": true,
609
882
  "aliases": [
610
883
  "setdefaultdevhubusername",
611
884
  "setdefaultdevhub",
612
885
  "v"
613
- ]
886
+ ],
887
+ "char": "d",
888
+ "deprecateAliases": true,
889
+ "name": "set-default-dev-hub",
890
+ "summary": "Set the authenticated org as the default Dev Hub.",
891
+ "allowNo": false,
892
+ "type": "boolean"
614
893
  },
615
894
  "set-default": {
616
- "name": "set-default",
617
- "type": "boolean",
895
+ "aliases": [
896
+ "setdefaultusername"
897
+ ],
618
898
  "char": "s",
899
+ "deprecateAliases": true,
900
+ "name": "set-default",
619
901
  "summary": "Set the authenticated org as the default that all org-related commands run against.",
620
902
  "allowNo": false,
621
- "deprecateAliases": true,
622
- "aliases": [
623
- "setdefaultusername"
624
- ]
903
+ "type": "boolean"
625
904
  },
626
905
  "alias": {
627
- "name": "alias",
628
- "type": "option",
906
+ "aliases": [
907
+ "setalias"
908
+ ],
629
909
  "char": "a",
910
+ "deprecateAliases": true,
911
+ "name": "alias",
630
912
  "summary": "Alias for the org.",
913
+ "hasDynamicHelp": false,
631
914
  "multiple": false,
632
- "deprecateAliases": true,
633
- "aliases": [
634
- "setalias"
635
- ]
915
+ "type": "option"
636
916
  },
637
917
  "disable-masking": {
918
+ "aliases": [
919
+ "disablemasking"
920
+ ],
921
+ "deprecateAliases": true,
922
+ "hidden": true,
638
923
  "name": "disable-masking",
639
- "type": "boolean",
640
924
  "summary": "Disable masking of user input; use with problematic terminals.",
641
- "hidden": true,
642
925
  "allowNo": false,
643
- "deprecateAliases": true,
644
- "aliases": [
645
- "disablemasking"
646
- ]
926
+ "type": "boolean"
647
927
  },
648
928
  "no-prompt": {
649
- "name": "no-prompt",
650
- "type": "boolean",
929
+ "aliases": [
930
+ "noprompt"
931
+ ],
651
932
  "char": "p",
652
- "summary": "Don't prompt for confirmation.",
933
+ "deprecateAliases": true,
653
934
  "hidden": true,
935
+ "name": "no-prompt",
654
936
  "required": false,
937
+ "summary": "Don't prompt for confirmation.",
655
938
  "allowNo": false,
656
- "deprecateAliases": true,
657
- "aliases": [
658
- "noprompt"
659
- ]
939
+ "type": "boolean"
660
940
  },
661
941
  "loglevel": {
662
- "name": "loglevel",
663
- "type": "option",
664
- "hidden": true,
665
- "multiple": false,
666
942
  "deprecated": {
667
943
  "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
668
944
  },
669
- "deprecateAliases": true
945
+ "hidden": true,
946
+ "name": "loglevel",
947
+ "hasDynamicHelp": false,
948
+ "multiple": false,
949
+ "type": "option"
670
950
  }
671
951
  },
672
- "args": {}
952
+ "hasDynamicHelp": false,
953
+ "hiddenAliases": [],
954
+ "id": "org:login:web",
955
+ "pluginAlias": "@salesforce/plugin-auth",
956
+ "pluginName": "@salesforce/plugin-auth",
957
+ "pluginType": "core",
958
+ "strict": true,
959
+ "summary": "Log in to a Salesforce org using the web server flow.",
960
+ "isESM": true,
961
+ "relativePath": [
962
+ "lib",
963
+ "commands",
964
+ "org",
965
+ "login",
966
+ "web.js"
967
+ ],
968
+ "aliasPermutations": [
969
+ "force:auth:web:login",
970
+ "auth:force:web:login",
971
+ "auth:web:force:login",
972
+ "auth:web:login:force",
973
+ "force:web:auth:login",
974
+ "web:force:auth:login",
975
+ "web:auth:force:login",
976
+ "web:auth:login:force",
977
+ "force:web:login:auth",
978
+ "web:force:login:auth",
979
+ "web:login:force:auth",
980
+ "web:login:auth:force",
981
+ "force:auth:login:web",
982
+ "auth:force:login:web",
983
+ "auth:login:force:web",
984
+ "auth:login:web:force",
985
+ "force:login:auth:web",
986
+ "login:force:auth:web",
987
+ "login:auth:force:web",
988
+ "login:auth:web:force",
989
+ "force:login:web:auth",
990
+ "login:force:web:auth",
991
+ "login:web:force:auth",
992
+ "login:web:auth:force",
993
+ "auth:web:login",
994
+ "web:auth:login",
995
+ "web:login:auth",
996
+ "auth:login:web",
997
+ "login:auth:web",
998
+ "login:web:auth"
999
+ ],
1000
+ "permutations": [
1001
+ "org:login:web",
1002
+ "login:org:web",
1003
+ "login:web:org",
1004
+ "org:web:login",
1005
+ "web:org:login",
1006
+ "web:login:org"
1007
+ ]
673
1008
  }
674
- }
1009
+ },
1010
+ "version": "3.0.1"
675
1011
  }