@salesforce/plugin-auth 2.4.2 → 2.5.0

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 (45) hide show
  1. package/lib/authBaseCommand.d.ts +11 -0
  2. package/lib/authBaseCommand.js +64 -0
  3. package/lib/authBaseCommand.js.map +1 -0
  4. package/lib/commands/auth/accesstoken/store.d.ts +15 -3
  5. package/lib/commands/auth/accesstoken/store.js +39 -31
  6. package/lib/commands/auth/accesstoken/store.js.map +1 -1
  7. package/lib/commands/auth/device/login.d.ts +16 -4
  8. package/lib/commands/auth/device/login.js +48 -33
  9. package/lib/commands/auth/device/login.js.map +1 -1
  10. package/lib/commands/auth/jwt/grant.d.ts +18 -3
  11. package/lib/commands/auth/jwt/grant.js +54 -31
  12. package/lib/commands/auth/jwt/grant.js.map +1 -1
  13. package/lib/commands/auth/list.d.ts +14 -4
  14. package/lib/commands/auth/list.js +17 -14
  15. package/lib/commands/auth/list.js.map +1 -1
  16. package/lib/commands/auth/logout.d.ts +15 -6
  17. package/lib/commands/auth/logout.js +47 -26
  18. package/lib/commands/auth/logout.js.map +1 -1
  19. package/lib/commands/auth/sfdxurl/store.d.ts +11 -3
  20. package/lib/commands/auth/sfdxurl/store.js +37 -24
  21. package/lib/commands/auth/sfdxurl/store.js.map +1 -1
  22. package/lib/commands/auth/web/login.d.ts +18 -3
  23. package/lib/commands/auth/web/login.js +49 -31
  24. package/lib/commands/auth/web/login.js.map +1 -1
  25. package/messages/accesstoken.store.md +22 -0
  26. package/messages/device.login.md +28 -0
  27. package/messages/jwt.grant.md +29 -0
  28. package/messages/list.md +15 -0
  29. package/messages/logout.md +45 -0
  30. package/messages/messages.md +58 -0
  31. package/messages/sfdxurl.store.md +27 -0
  32. package/messages/web.login.md +31 -0
  33. package/oclif.manifest.json +371 -626
  34. package/package.json +16 -14
  35. package/lib/prompts.d.ts +0 -11
  36. package/lib/prompts.js +0 -65
  37. package/lib/prompts.js.map +0 -1
  38. package/messages/accesstoken.store.json +0 -9
  39. package/messages/device.login.json +0 -11
  40. package/messages/jwt.grant.json +0 -11
  41. package/messages/list.json +0 -4
  42. package/messages/logout.json +0 -9
  43. package/messages/messages.json +0 -37
  44. package/messages/sfdxurl.store.json +0 -8
  45. package/messages/web.login.json +0 -12
@@ -1,56 +1,48 @@
1
1
  {
2
- "version": "2.4.2",
2
+ "version": "2.5.0",
3
3
  "commands": {
4
4
  "auth:list": {
5
5
  "id": "auth:list",
6
+ "summary": "List auth connection information",
6
7
  "description": "list auth connection information",
7
8
  "strict": true,
8
- "usage": "<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
9
9
  "pluginName": "@salesforce/plugin-auth",
10
10
  "pluginAlias": "@salesforce/plugin-auth",
11
11
  "pluginType": "core",
12
12
  "aliases": [
13
13
  "force:auth:list"
14
14
  ],
15
+ "examples": [
16
+ "$ <%= config.bin %> <%= command.id %>"
17
+ ],
18
+ "deprecateAliases": true,
15
19
  "flags": {
16
20
  "json": {
17
21
  "name": "json",
18
22
  "type": "boolean",
19
- "description": "format output as json",
20
- "allowNo": false
23
+ "description": "Format output as json.",
24
+ "helpGroup": "GLOBAL",
25
+ "allowNo": false,
26
+ "deprecateAliases": true
21
27
  },
22
28
  "loglevel": {
23
29
  "name": "loglevel",
24
30
  "type": "option",
25
- "description": "logging level for this command invocation",
26
- "required": false,
27
- "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
31
+ "hidden": true,
28
32
  "multiple": false,
29
- "options": [
30
- "trace",
31
- "debug",
32
- "info",
33
- "warn",
34
- "error",
35
- "fatal",
36
- "TRACE",
37
- "DEBUG",
38
- "INFO",
39
- "WARN",
40
- "ERROR",
41
- "FATAL"
42
- ],
43
- "default": "warn"
33
+ "deprecated": {
34
+ "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."
35
+ },
36
+ "deprecateAliases": true
44
37
  }
45
38
  },
46
- "args": {},
47
- "flagsConfig": {}
39
+ "args": {}
48
40
  },
49
41
  "auth:logout": {
50
42
  "id": "auth:logout",
43
+ "summary": "log out from authorized orgs",
51
44
  "description": "log out from authorized orgs\nBy default, this command logs you out from your default scratch org.",
52
45
  "strict": true,
53
- "usage": "<%= command.id %> [-a] [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
54
46
  "pluginName": "@salesforce/plugin-auth",
55
47
  "pluginAlias": "@salesforce/plugin-auth",
56
48
  "pluginType": "core",
@@ -58,97 +50,75 @@
58
50
  "force:auth:logout"
59
51
  ],
60
52
  "examples": [
61
- "$ sfdx auth:logout -u me@my.org",
62
- "$ sfdx auth:logout -a",
63
- "$ sfdx auth:logout -p"
53
+ "$ <%= config.bin %> <%= command.id %> -o me@my.org",
54
+ "$ <%= config.bin %> <%= command.id %> -a",
55
+ "$ <%= config.bin %> <%= command.id %> -p"
64
56
  ],
57
+ "deprecateAliases": true,
65
58
  "flags": {
66
59
  "json": {
67
60
  "name": "json",
68
61
  "type": "boolean",
69
- "description": "format output as json",
70
- "allowNo": false
62
+ "description": "Format output as json.",
63
+ "helpGroup": "GLOBAL",
64
+ "allowNo": false,
65
+ "deprecateAliases": true
71
66
  },
72
- "loglevel": {
73
- "name": "loglevel",
67
+ "target-org": {
68
+ "name": "target-org",
74
69
  "type": "option",
75
- "description": "logging level for this command invocation",
76
- "required": false,
77
- "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
70
+ "char": "o",
71
+ "summary": "Username or alias of the target org.",
78
72
  "multiple": false,
79
- "options": [
80
- "trace",
81
- "debug",
82
- "info",
83
- "warn",
84
- "error",
85
- "fatal",
86
- "TRACE",
87
- "DEBUG",
88
- "INFO",
89
- "WARN",
90
- "ERROR",
91
- "FATAL"
92
- ],
93
- "default": "warn"
94
- },
95
- "targetusername": {
96
- "name": "targetusername",
97
- "type": "option",
98
- "char": "u",
99
- "description": "username or alias for the target org; overrides default target org",
100
- "multiple": false
101
- },
102
- "apiversion": {
103
- "name": "apiversion",
104
- "type": "option",
105
- "description": "override the api version used for api requests made by this command",
106
- "multiple": false
73
+ "deprecateAliases": true,
74
+ "aliases": [
75
+ "targetusername",
76
+ "u"
77
+ ]
107
78
  },
108
79
  "all": {
109
80
  "name": "all",
110
81
  "type": "boolean",
111
82
  "char": "a",
112
- "description": "include all authenticated orgs",
83
+ "summary": "include all authenticated orgs",
84
+ "description": "Includes all authenticated orgs: for example, Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs.",
113
85
  "required": false,
114
- "allowNo": false
86
+ "allowNo": false,
87
+ "exclusive": [
88
+ "target-org"
89
+ ],
90
+ "deprecateAliases": true
115
91
  },
116
- "noprompt": {
117
- "name": "noprompt",
92
+ "no-prompt": {
93
+ "name": "no-prompt",
118
94
  "type": "boolean",
119
95
  "char": "p",
120
- "description": "do not prompt for confirmation",
121
- "required": false,
122
- "allowNo": false
123
- }
124
- },
125
- "args": {},
126
- "supportsUsername": true,
127
- "flagsConfig": {
128
- "all": {
129
- "kind": "boolean",
130
- "char": "a",
131
- "description": "include all authenticated orgs",
132
- "longDescription": "Includes all authenticated orgs: for example, Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs.",
96
+ "summary": "do not prompt for confirmation",
133
97
  "required": false,
134
98
  "allowNo": false,
135
- "type": "boolean"
99
+ "deprecateAliases": true,
100
+ "aliases": [
101
+ "noprompt"
102
+ ]
136
103
  },
137
- "noprompt": {
138
- "kind": "boolean",
139
- "char": "p",
140
- "description": "do not prompt for confirmation",
141
- "required": false,
142
- "allowNo": false,
143
- "type": "boolean"
104
+ "loglevel": {
105
+ "name": "loglevel",
106
+ "type": "option",
107
+ "hidden": true,
108
+ "multiple": false,
109
+ "deprecated": {
110
+ "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."
111
+ },
112
+ "deprecateAliases": true
144
113
  }
145
- }
114
+ },
115
+ "args": {}
146
116
  },
147
117
  "auth:accesstoken:store": {
148
118
  "id": "auth:accesstoken:store",
149
- "description": "authorize an org using an existing Salesforce access token\nBy 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 --noprompt to not be prompted.\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 --noprompt parameter. \"<org id>!<accesstoken>\"",
119
+ "summary": "authorize an org using an existing Salesforce access token",
120
+ "description": "authorize an org using an existing Salesforce access token\nBy 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.\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.",
150
121
  "strict": true,
151
- "usage": "<%= command.id %> -r <url> [-d] [-s] [-a <string>] [-p] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
152
122
  "pluginName": "@salesforce/plugin-auth",
153
123
  "pluginAlias": "@salesforce/plugin-auth",
154
124
  "pluginType": "core",
@@ -156,129 +126,95 @@
156
126
  "force:auth:accesstoken:store"
157
127
  ],
158
128
  "examples": [
159
- "$ sfdx auth:accesstoken:store --instanceurl https://mycompany.my.salesforce.com",
129
+ "$ <%= config.bin %> <%= command.id %> --instance-url https://mycompany.my.salesforce.com",
160
130
  "$ export SFDX_ACCESS_TOKEN=00Dxx0000000000!xxxxx",
161
- "$ sfdx auth:accesstoken:store --instanceurl https://dev-hub.my.salesforce.com --noprompt"
131
+ "$ <%= config.bin %> <%= command.id %> --instance-url https://dev-hub.my.salesforce.com --no-prompt"
162
132
  ],
133
+ "deprecateAliases": true,
163
134
  "flags": {
164
135
  "json": {
165
136
  "name": "json",
166
137
  "type": "boolean",
167
- "description": "format output as json",
168
- "allowNo": false
169
- },
170
- "loglevel": {
171
- "name": "loglevel",
172
- "type": "option",
173
- "description": "logging level for this command invocation",
174
- "required": false,
175
- "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
176
- "multiple": false,
177
- "options": [
178
- "trace",
179
- "debug",
180
- "info",
181
- "warn",
182
- "error",
183
- "fatal",
184
- "TRACE",
185
- "DEBUG",
186
- "INFO",
187
- "WARN",
188
- "ERROR",
189
- "FATAL"
190
- ],
191
- "default": "warn"
138
+ "description": "Format output as json.",
139
+ "helpGroup": "GLOBAL",
140
+ "allowNo": false,
141
+ "deprecateAliases": true
192
142
  },
193
- "instanceurl": {
194
- "name": "instanceurl",
143
+ "instance-url": {
144
+ "name": "instance-url",
195
145
  "type": "option",
196
146
  "char": "r",
197
- "description": "the login URL of the instance the org lives on",
147
+ "summary": "the login URL of the instance the org lives on",
198
148
  "required": true,
199
- "multiple": false
149
+ "multiple": false,
150
+ "deprecateAliases": true,
151
+ "aliases": [
152
+ "instanceurl"
153
+ ]
200
154
  },
201
- "setdefaultdevhubusername": {
202
- "name": "setdefaultdevhubusername",
155
+ "set-default-dev-hub": {
156
+ "name": "set-default-dev-hub",
203
157
  "type": "boolean",
204
158
  "char": "d",
205
- "description": "set the authenticated org as the default dev hub org for scratch org creation",
206
- "allowNo": false
159
+ "summary": "set the authenticated org as the default dev hub org for scratch org creation",
160
+ "allowNo": false,
161
+ "deprecateAliases": true,
162
+ "aliases": [
163
+ "setdefaultdevhub"
164
+ ]
207
165
  },
208
- "setdefaultusername": {
209
- "name": "setdefaultusername",
166
+ "set-default": {
167
+ "name": "set-default",
210
168
  "type": "boolean",
211
169
  "char": "s",
212
- "description": "set the authenticated org as the default username that all commands run against",
213
- "allowNo": false
170
+ "summary": "set the authenticated org as the default username that all commands run against",
171
+ "allowNo": false,
172
+ "deprecateAliases": true,
173
+ "aliases": [
174
+ "setdefaultusername"
175
+ ]
214
176
  },
215
- "setalias": {
216
- "name": "setalias",
177
+ "alias": {
178
+ "name": "alias",
217
179
  "type": "option",
218
180
  "char": "a",
219
- "description": "set an alias for the authenticated org",
220
- "multiple": false
181
+ "summary": "set an alias for the authenticated org",
182
+ "multiple": false,
183
+ "deprecateAliases": true,
184
+ "aliases": [
185
+ "setalias"
186
+ ]
221
187
  },
222
- "noprompt": {
223
- "name": "noprompt",
188
+ "no-prompt": {
189
+ "name": "no-prompt",
224
190
  "type": "boolean",
225
191
  "char": "p",
226
- "description": "do not prompt for confirmation",
192
+ "summary": "do not prompt for confirmation",
227
193
  "required": false,
228
- "allowNo": false
229
- }
230
- },
231
- "args": {},
232
- "flagsConfig": {
233
- "instanceurl": {
234
- "kind": "url",
235
- "char": "r",
236
- "description": "the login URL of the instance the org lives on",
237
- "required": true,
238
- "input": [],
239
- "multiple": false,
240
- "type": "option"
241
- },
242
- "setdefaultdevhubusername": {
243
- "kind": "boolean",
244
- "char": "d",
245
- "description": "set the authenticated org as the default dev hub org for scratch org creation",
246
- "default": false,
247
194
  "allowNo": false,
248
- "type": "boolean"
249
- },
250
- "setdefaultusername": {
251
- "kind": "boolean",
252
- "char": "s",
253
- "description": "set the authenticated org as the default username that all commands run against",
254
- "default": false,
255
- "allowNo": false,
256
- "type": "boolean"
195
+ "deprecateAliases": true,
196
+ "aliases": [
197
+ "noprompt"
198
+ ]
257
199
  },
258
- "setalias": {
259
- "kind": "string",
260
- "char": "a",
261
- "description": "set an alias for the authenticated org",
262
- "input": [],
200
+ "loglevel": {
201
+ "name": "loglevel",
202
+ "type": "option",
203
+ "hidden": true,
263
204
  "multiple": false,
264
- "type": "option"
265
- },
266
- "noprompt": {
267
- "kind": "boolean",
268
- "char": "p",
269
- "description": "do not prompt for confirmation",
270
- "required": false,
271
- "default": false,
272
- "allowNo": false,
273
- "type": "boolean"
205
+ "deprecated": {
206
+ "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."
207
+ },
208
+ "deprecateAliases": true
274
209
  }
275
- }
210
+ },
211
+ "args": {}
276
212
  },
277
213
  "auth:device:login": {
278
214
  "id": "auth:device:login",
215
+ "summary": "authorize an org using a device code",
279
216
  "description": "authorize an org using a device code\nYou must open a browser, navigate to the verification URL, and enter the code. Log in, if not already logged in, and you’ll be prompted to allow the device to connect to the org.",
280
217
  "strict": true,
281
- "usage": "<%= command.id %> [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
282
218
  "pluginName": "@salesforce/plugin-auth",
283
219
  "pluginAlias": "@salesforce/plugin-auth",
284
220
  "pluginType": "core",
@@ -286,137 +222,95 @@
286
222
  "force:auth:device:login"
287
223
  ],
288
224
  "examples": [
289
- "$ sfdx auth:device:login -d -a TestOrg1",
290
- "$ sfdx auth:device:login -i <OAuth client id>",
291
- "$ sfdx auth:device:login -r https://MyDomainName--SandboxName.sandbox.my.salesforce.com"
225
+ "$ <%= config.bin %> <%= command.id %> -d -a TestOrg1",
226
+ "$ <%= config.bin %> <%= command.id %> -i <OAuth client id>",
227
+ "$ <%= config.bin %> <%= command.id %> -r https://MyDomainName--SandboxName.sandbox.my.salesforce.com"
292
228
  ],
293
229
  "flags": {
294
230
  "json": {
295
231
  "name": "json",
296
232
  "type": "boolean",
297
- "description": "format output as json",
233
+ "description": "Format output as json.",
234
+ "helpGroup": "GLOBAL",
298
235
  "allowNo": false
299
236
  },
300
- "loglevel": {
301
- "name": "loglevel",
302
- "type": "option",
303
- "description": "logging level for this command invocation",
304
- "required": false,
305
- "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
306
- "multiple": false,
307
- "options": [
308
- "trace",
309
- "debug",
310
- "info",
311
- "warn",
312
- "error",
313
- "fatal",
314
- "TRACE",
315
- "DEBUG",
316
- "INFO",
317
- "WARN",
318
- "ERROR",
319
- "FATAL"
320
- ],
321
- "default": "warn"
322
- },
323
- "clientid": {
324
- "name": "clientid",
237
+ "client-id": {
238
+ "name": "client-id",
325
239
  "type": "option",
326
240
  "char": "i",
327
- "description": "OAuth client ID (sometimes called the consumer key)",
328
- "multiple": false
241
+ "summary": "OAuth client ID (sometimes called the consumer key)",
242
+ "multiple": false,
243
+ "aliases": [
244
+ "clientid"
245
+ ]
329
246
  },
330
- "instanceurl": {
331
- "name": "instanceurl",
247
+ "instance-url": {
248
+ "name": "instance-url",
332
249
  "type": "option",
333
250
  "char": "r",
334
- "description": "the login URL of the instance the org lives on",
335
- "multiple": false
251
+ "summary": "the login URL of the instance the org lives on",
252
+ "multiple": false,
253
+ "aliases": [
254
+ "instanceurl"
255
+ ]
336
256
  },
337
- "setdefaultdevhubusername": {
338
- "name": "setdefaultdevhubusername",
257
+ "set-default-dev-hub": {
258
+ "name": "set-default-dev-hub",
339
259
  "type": "boolean",
340
260
  "char": "d",
341
- "description": "set the authenticated org as the default dev hub org for scratch org creation",
342
- "allowNo": false
261
+ "summary": "set the authenticated org as the default dev hub org for scratch org creation",
262
+ "allowNo": false,
263
+ "aliases": [
264
+ "setdefaultdevhub"
265
+ ]
343
266
  },
344
- "setdefaultusername": {
345
- "name": "setdefaultusername",
267
+ "set-default": {
268
+ "name": "set-default",
346
269
  "type": "boolean",
347
270
  "char": "s",
348
- "description": "set the authenticated org as the default username that all commands run against",
349
- "allowNo": false
271
+ "summary": "set the authenticated org as the default username that all commands run against",
272
+ "allowNo": false,
273
+ "aliases": [
274
+ "setdefaultusername"
275
+ ]
350
276
  },
351
- "setalias": {
352
- "name": "setalias",
277
+ "alias": {
278
+ "name": "alias",
353
279
  "type": "option",
354
280
  "char": "a",
355
- "description": "set an alias for the authenticated org",
356
- "multiple": false
281
+ "summary": "set an alias for the authenticated org",
282
+ "multiple": false,
283
+ "aliases": [
284
+ "setalias"
285
+ ]
357
286
  },
358
- "disablemasking": {
359
- "name": "disablemasking",
287
+ "disable-masking": {
288
+ "name": "disable-masking",
360
289
  "type": "boolean",
361
- "description": "disable masking of user input (for use with problematic terminals)",
290
+ "summary": "disable masking of user input (for use with problematic terminals)",
362
291
  "hidden": true,
363
- "allowNo": false
364
- }
365
- },
366
- "args": {},
367
- "flagsConfig": {
368
- "clientid": {
369
- "kind": "string",
370
- "char": "i",
371
- "description": "OAuth client ID (sometimes called the consumer key)",
372
- "input": [],
373
- "multiple": false,
374
- "type": "option"
375
- },
376
- "instanceurl": {
377
- "kind": "url",
378
- "char": "r",
379
- "description": "the login URL of the instance the org lives on",
380
- "input": [],
381
- "multiple": false,
382
- "type": "option"
383
- },
384
- "setdefaultdevhubusername": {
385
- "kind": "boolean",
386
- "char": "d",
387
- "description": "set the authenticated org as the default dev hub org for scratch org creation",
388
292
  "allowNo": false,
389
- "type": "boolean"
390
- },
391
- "setdefaultusername": {
392
- "kind": "boolean",
393
- "char": "s",
394
- "description": "set the authenticated org as the default username that all commands run against",
395
- "allowNo": false,
396
- "type": "boolean"
397
- },
398
- "setalias": {
399
- "kind": "string",
400
- "char": "a",
401
- "description": "set an alias for the authenticated org",
402
- "input": [],
403
- "multiple": false,
404
- "type": "option"
293
+ "aliases": [
294
+ "disablemasking"
295
+ ]
405
296
  },
406
- "disablemasking": {
407
- "kind": "boolean",
408
- "description": "disable masking of user input (for use with problematic terminals)",
297
+ "loglevel": {
298
+ "name": "loglevel",
299
+ "type": "option",
409
300
  "hidden": true,
410
- "allowNo": false,
411
- "type": "boolean"
301
+ "multiple": false,
302
+ "deprecated": {
303
+ "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."
304
+ }
412
305
  }
413
- }
306
+ },
307
+ "args": {}
414
308
  },
415
309
  "auth:jwt:grant": {
416
310
  "id": "auth:jwt:grant",
417
- "description": "authorize an org using the JWT flow\nUse a certificate associated with your private key that has been uploaded to a personal connected app.\nIf you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To specify a sandbox, set --instanceurl to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.",
311
+ "summary": "authorize an org using the JWT flow",
312
+ "description": "authorize an org using the JWT flow\nUse a certificate associated with your private key that has been uploaded to a personal connected app.\nIf you specify an --instanc-eurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To specify a sandbox, set --instance-url to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.",
418
313
  "strict": true,
419
- "usage": "<%= command.id %> -u <string> -f <filepath> -i <string> [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
420
314
  "pluginName": "@salesforce/plugin-auth",
421
315
  "pluginAlias": "@salesforce/plugin-auth",
422
316
  "pluginType": "core",
@@ -424,177 +318,120 @@
424
318
  "force:auth:jwt:grant"
425
319
  ],
426
320
  "examples": [
427
- "$ sfdx auth:jwt:grant -u me@my.org -f <path to jwt key file> -i <OAuth client id>",
428
- "$ sfdx auth:jwt:grant -u me@my.org -f <path to jwt key file> -i <OAuth client id> -s -a MyDefaultOrg",
429
- "$ sfdx auth:jwt:grant -u me@acme.org -f <path to jwt key file> -i <OAuth client id> -r https://acme.my.salesforce.com"
321
+ "$ <%= config.bin %> <%= command.id %> -o me@my.org -f <path to jwt key file> -i <OAuth client id>",
322
+ "$ <%= config.bin %> <%= command.id %> -o me@my.org -f <path to jwt key file> -i <OAuth client id> -s -a MyDefaultOrg",
323
+ "$ <%= config.bin %> <%= command.id %> -o me@acme.org -f <path to jwt key file> -i <OAuth client id> -r https://acme.my.salesforce.com"
430
324
  ],
431
325
  "flags": {
432
326
  "json": {
433
327
  "name": "json",
434
328
  "type": "boolean",
435
- "description": "format output as json",
329
+ "description": "Format output as json.",
330
+ "helpGroup": "GLOBAL",
436
331
  "allowNo": false
437
332
  },
438
- "loglevel": {
439
- "name": "loglevel",
440
- "type": "option",
441
- "description": "logging level for this command invocation",
442
- "required": false,
443
- "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
444
- "multiple": false,
445
- "options": [
446
- "trace",
447
- "debug",
448
- "info",
449
- "warn",
450
- "error",
451
- "fatal",
452
- "TRACE",
453
- "DEBUG",
454
- "INFO",
455
- "WARN",
456
- "ERROR",
457
- "FATAL"
458
- ],
459
- "default": "warn"
460
- },
461
333
  "username": {
462
334
  "name": "username",
463
335
  "type": "option",
464
- "char": "u",
465
- "description": "authentication username",
336
+ "char": "o",
337
+ "summary": "authentication username",
466
338
  "required": true,
467
- "multiple": false
339
+ "multiple": false,
340
+ "aliases": [
341
+ "u"
342
+ ]
468
343
  },
469
- "jwtkeyfile": {
470
- "name": "jwtkeyfile",
344
+ "jwt-key-file": {
345
+ "name": "jwt-key-file",
471
346
  "type": "option",
472
347
  "char": "f",
473
- "description": "path to a file containing the private key",
348
+ "summary": "path to a file containing the private key",
474
349
  "required": true,
475
- "multiple": false
350
+ "multiple": false,
351
+ "aliases": [
352
+ "jwtkeyfile"
353
+ ]
476
354
  },
477
- "clientid": {
478
- "name": "clientid",
355
+ "client-id": {
356
+ "name": "client-id",
479
357
  "type": "option",
480
358
  "char": "i",
481
- "description": "OAuth client ID (sometimes called the consumer key)",
359
+ "summary": "OAuth client ID (sometimes called the consumer key)",
482
360
  "required": true,
483
- "multiple": false
361
+ "multiple": false,
362
+ "aliases": [
363
+ "clientid"
364
+ ]
484
365
  },
485
- "instanceurl": {
486
- "name": "instanceurl",
366
+ "instance-url": {
367
+ "name": "instance-url",
487
368
  "type": "option",
488
369
  "char": "r",
489
- "description": "the login URL of the instance the org lives on",
490
- "multiple": false
370
+ "summary": "the login URL of the instance the org lives on",
371
+ "multiple": false,
372
+ "aliases": [
373
+ "instanceurl"
374
+ ]
491
375
  },
492
- "setdefaultdevhubusername": {
493
- "name": "setdefaultdevhubusername",
376
+ "set-default-dev-hub": {
377
+ "name": "set-default-dev-hub",
494
378
  "type": "boolean",
495
379
  "char": "d",
496
- "description": "set the authenticated org as the default dev hub org for scratch org creation",
497
- "allowNo": false
380
+ "summary": "set the authenticated org as the default dev hub org for scratch org creation",
381
+ "allowNo": false,
382
+ "aliases": [
383
+ "setdefaultdevhub"
384
+ ]
498
385
  },
499
- "setdefaultusername": {
500
- "name": "setdefaultusername",
386
+ "set-default": {
387
+ "name": "set-default",
501
388
  "type": "boolean",
502
389
  "char": "s",
503
- "description": "set the authenticated org as the default username that all commands run against",
504
- "allowNo": false
390
+ "summary": "set the authenticated org as the default username that all commands run against",
391
+ "allowNo": false,
392
+ "aliases": [
393
+ "setdefaultusername"
394
+ ]
505
395
  },
506
- "setalias": {
507
- "name": "setalias",
396
+ "alias": {
397
+ "name": "alias",
508
398
  "type": "option",
509
399
  "char": "a",
510
- "description": "set an alias for the authenticated org",
511
- "multiple": false
400
+ "summary": "set an alias for the authenticated org",
401
+ "multiple": false,
402
+ "aliases": [
403
+ "setalias"
404
+ ]
512
405
  },
513
- "noprompt": {
514
- "name": "noprompt",
406
+ "no-prompt": {
407
+ "name": "no-prompt",
515
408
  "type": "boolean",
516
409
  "char": "p",
517
- "description": "do not prompt for auth confirmation in demo mode",
410
+ "summary": "do not prompt for auth confirmation in demo mode",
518
411
  "hidden": true,
519
412
  "required": false,
520
- "allowNo": false
521
- }
522
- },
523
- "args": {},
524
- "flagsConfig": {
525
- "username": {
526
- "kind": "string",
527
- "char": "u",
528
- "description": "authentication username",
529
- "required": true,
530
- "input": [],
531
- "multiple": false,
532
- "type": "option"
533
- },
534
- "jwtkeyfile": {
535
- "kind": "filepath",
536
- "char": "f",
537
- "description": "path to a file containing the private key",
538
- "required": true,
539
- "input": [],
540
- "multiple": false,
541
- "type": "option"
542
- },
543
- "clientid": {
544
- "kind": "string",
545
- "char": "i",
546
- "description": "OAuth client ID (sometimes called the consumer key)",
547
- "required": true,
548
- "input": [],
549
- "multiple": false,
550
- "type": "option"
551
- },
552
- "instanceurl": {
553
- "kind": "url",
554
- "char": "r",
555
- "description": "the login URL of the instance the org lives on",
556
- "input": [],
557
- "multiple": false,
558
- "type": "option"
559
- },
560
- "setdefaultdevhubusername": {
561
- "kind": "boolean",
562
- "char": "d",
563
- "description": "set the authenticated org as the default dev hub org for scratch org creation",
564
413
  "allowNo": false,
565
- "type": "boolean"
566
- },
567
- "setdefaultusername": {
568
- "kind": "boolean",
569
- "char": "s",
570
- "description": "set the authenticated org as the default username that all commands run against",
571
- "allowNo": false,
572
- "type": "boolean"
573
- },
574
- "setalias": {
575
- "kind": "string",
576
- "char": "a",
577
- "description": "set an alias for the authenticated org",
578
- "input": [],
579
- "multiple": false,
580
- "type": "option"
414
+ "aliases": [
415
+ "noprompt"
416
+ ]
581
417
  },
582
- "noprompt": {
583
- "kind": "boolean",
584
- "char": "p",
585
- "description": "do not prompt for auth confirmation in demo mode",
586
- "required": false,
418
+ "loglevel": {
419
+ "name": "loglevel",
420
+ "type": "option",
587
421
  "hidden": true,
588
- "allowNo": false,
589
- "type": "boolean"
422
+ "multiple": false,
423
+ "deprecated": {
424
+ "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."
425
+ }
590
426
  }
591
- }
427
+ },
428
+ "args": {}
592
429
  },
593
430
  "auth:sfdxurl:store": {
594
431
  "id": "auth:sfdxurl:store",
595
- "description": "authorize an org using an SFDX auth URL stored within a file\nThe SFDX auth URL must have the format \"force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>\". NOTE: The SFDX auth URL uses the \"force\" protocol, and not \"http\" or \"https\". Also, the \"instanceUrl\" inside the SFDX auth URL doesn't include the protocol (\"https://\").\n\nYou have three options when creating the auth file. The easiest option is to redirect the output of the `sfdx force:org:display --verbose --json` command into a file. For example, using an org you have already authorized:\n\n $ sfdx force:org:display -u <OrgUsername> --verbose --json > authFile.json\n $ sfdx auth:sfdxurl:store -f authFile.json\n\nThe resulting JSON file contains the URL in the sfdxAuthUrl property inside of a results object. NOTE: The `force: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 auth URL. Finally, you can create a normal text file that includes just the URL and nothing else.",
432
+ "summary": "authorize an org using an SFDX auth URL stored within a file",
433
+ "description": "authorize an org using an SFDX auth URL stored within a file\nThe SFDX auth URL must have the format \"force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>\". NOTE: The SFDX auth URL uses the \"force\" protocol, and not \"http\" or \"https\". Also, the \"instanceUrl\" inside the SFDX auth URL doesn't include the protocol (\"https://\").\n\nYou have three options when creating the auth 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 you have already authorized:\n\n $ <%= config.bin %> org:display -o <OrgUsername> --verbose --json > authFile.json\n $ <%= config.bin %> <%= command.id %> -f authFile.json\n\nThe resulting JSON file contains the URL in the sfdxAuthUrl property inside of a results object. NOTE: The `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 auth URL. Finally, you can create a normal text file that includes just the URL and nothing else.",
596
434
  "strict": true,
597
- "usage": "<%= command.id %> -f <filepath> [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
598
435
  "pluginName": "@salesforce/plugin-auth",
599
436
  "pluginAlias": "@salesforce/plugin-auth",
600
437
  "pluginType": "core",
@@ -602,127 +439,87 @@
602
439
  "force:auth:sfdxurl:store"
603
440
  ],
604
441
  "examples": [
605
- "$ sfdx auth:sfdxurl:store -f <path to sfdxAuthUrl file>",
606
- "$ sfdx auth:sfdxurl:store -f <path to sfdxAuthUrl file> -s -a MyDefaultOrg"
442
+ "$ <%= config.bin %> <%= command.id %> -f <path to sfdxAuthUrl file>",
443
+ "$ <%= config.bin %> <%= command.id %> -f <path to sfdxAuthUrl file> -s -a MyDefaultOrg"
607
444
  ],
608
445
  "flags": {
609
446
  "json": {
610
447
  "name": "json",
611
448
  "type": "boolean",
612
- "description": "format output as json",
449
+ "description": "Format output as json.",
450
+ "helpGroup": "GLOBAL",
613
451
  "allowNo": false
614
452
  },
615
- "loglevel": {
616
- "name": "loglevel",
617
- "type": "option",
618
- "description": "logging level for this command invocation",
619
- "required": false,
620
- "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
621
- "multiple": false,
622
- "options": [
623
- "trace",
624
- "debug",
625
- "info",
626
- "warn",
627
- "error",
628
- "fatal",
629
- "TRACE",
630
- "DEBUG",
631
- "INFO",
632
- "WARN",
633
- "ERROR",
634
- "FATAL"
635
- ],
636
- "default": "warn"
637
- },
638
- "sfdxurlfile": {
639
- "name": "sfdxurlfile",
453
+ "sfdx-url-file": {
454
+ "name": "sfdx-url-file",
640
455
  "type": "option",
641
456
  "char": "f",
642
- "description": "path to a file containing the sfdx url",
457
+ "summary": "path to a file containing the sfdx url",
643
458
  "required": true,
644
- "multiple": false
459
+ "multiple": false,
460
+ "aliases": [
461
+ "sfdxurlfile"
462
+ ]
645
463
  },
646
- "setdefaultdevhubusername": {
647
- "name": "setdefaultdevhubusername",
464
+ "set-default-dev-hub": {
465
+ "name": "set-default-dev-hub",
648
466
  "type": "boolean",
649
467
  "char": "d",
650
- "description": "set the authenticated org as the default dev hub org for scratch org creation",
651
- "allowNo": false
468
+ "summary": "set the authenticated org as the default dev hub org for scratch org creation",
469
+ "allowNo": false,
470
+ "aliases": [
471
+ "setdefaultdevhub"
472
+ ]
652
473
  },
653
- "setdefaultusername": {
654
- "name": "setdefaultusername",
474
+ "set-default": {
475
+ "name": "set-default",
655
476
  "type": "boolean",
656
477
  "char": "s",
657
- "description": "set the authenticated org as the default username that all commands run against",
658
- "allowNo": false
478
+ "summary": "set the authenticated org as the default username that all commands run against",
479
+ "allowNo": false,
480
+ "aliases": [
481
+ "setdefaultusername"
482
+ ]
659
483
  },
660
- "setalias": {
661
- "name": "setalias",
484
+ "alias": {
485
+ "name": "alias",
662
486
  "type": "option",
663
487
  "char": "a",
664
- "description": "set an alias for the authenticated org",
665
- "multiple": false
488
+ "summary": "set an alias for the authenticated org",
489
+ "multiple": false,
490
+ "aliases": [
491
+ "setalias"
492
+ ]
666
493
  },
667
- "noprompt": {
668
- "name": "noprompt",
494
+ "no-prompt": {
495
+ "name": "no-prompt",
669
496
  "type": "boolean",
670
497
  "char": "p",
671
- "description": "do not prompt for auth confirmation in demo mode",
498
+ "summary": "do not prompt for auth confirmation in demo mode",
672
499
  "hidden": true,
673
500
  "required": false,
674
- "allowNo": false
675
- }
676
- },
677
- "args": {},
678
- "flagsConfig": {
679
- "sfdxurlfile": {
680
- "kind": "filepath",
681
- "char": "f",
682
- "description": "path to a file containing the sfdx url",
683
- "required": true,
684
- "input": [],
685
- "multiple": false,
686
- "type": "option"
687
- },
688
- "setdefaultdevhubusername": {
689
- "kind": "boolean",
690
- "char": "d",
691
- "description": "set the authenticated org as the default dev hub org for scratch org creation",
692
501
  "allowNo": false,
693
- "type": "boolean"
694
- },
695
- "setdefaultusername": {
696
- "kind": "boolean",
697
- "char": "s",
698
- "description": "set the authenticated org as the default username that all commands run against",
699
- "allowNo": false,
700
- "type": "boolean"
701
- },
702
- "setalias": {
703
- "kind": "string",
704
- "char": "a",
705
- "description": "set an alias for the authenticated org",
706
- "input": [],
707
- "multiple": false,
708
- "type": "option"
502
+ "aliases": [
503
+ "noprompt"
504
+ ]
709
505
  },
710
- "noprompt": {
711
- "kind": "boolean",
712
- "char": "p",
713
- "description": "do not prompt for auth confirmation in demo mode",
714
- "required": false,
506
+ "loglevel": {
507
+ "name": "loglevel",
508
+ "type": "option",
715
509
  "hidden": true,
716
- "allowNo": false,
717
- "type": "boolean"
510
+ "multiple": false,
511
+ "deprecated": {
512
+ "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."
513
+ }
718
514
  }
719
- }
515
+ },
516
+ "args": {}
720
517
  },
721
518
  "auth:web:login": {
722
519
  "id": "auth:web:login",
723
- "description": "authorize an org using the web login flow\nIf you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To log in to a sandbox, set --instanceurl to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.\nTo open in a specific browser, use the --browser parameter. Supported browsers are \"chrome\", \"edge\", and \"firefox\". If you don't specify --browser, the org opens in your default browser.",
520
+ "summary": "authorize an org using the web login flow",
521
+ "description": "authorize an org using the web login flow\nIf you specify an --instance-url value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To log in to a sandbox, set --instanceurl to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.\nTo open in a specific browser, use the --browser parameter. Supported browsers are \"chrome\", \"edge\", and \"firefox\". If you don't specify --browser, the org opens in your default browser.",
724
522
  "strict": true,
725
- "usage": "<%= command.id %> [-b chrome|edge|firefox] [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]",
726
523
  "pluginName": "@salesforce/plugin-auth",
727
524
  "pluginAlias": "@salesforce/plugin-auth",
728
525
  "pluginType": "core",
@@ -730,177 +527,125 @@
730
527
  "force:auth:web:login"
731
528
  ],
732
529
  "examples": [
733
- "$ sfdx auth:web:login -a TestOrg1",
734
- "$ sfdx auth:web:login -i <OAuth client id>",
735
- "$ sfdx auth:web:login -r https://MyDomainName--SandboxName.sandbox.my.salesforce.com",
736
- "$ sfdx auth:web:login -a TestOrg1 -b firefox"
530
+ "$ <%= config.bin %> <%= command.id %> -a TestOrg1",
531
+ "$ <%= config.bin %> <%= command.id %> -i <OAuth client id>",
532
+ "$ <%= config.bin %> <%= command.id %> -r https://MyDomainName--SandboxName.sandbox.my.salesforce.com",
533
+ "$ <%= config.bin %> <%= command.id %> -a TestOrg1 -b firefox"
737
534
  ],
535
+ "deprecateAliases": true,
738
536
  "flags": {
739
537
  "json": {
740
538
  "name": "json",
741
539
  "type": "boolean",
742
- "description": "format output as json",
743
- "allowNo": false
744
- },
745
- "loglevel": {
746
- "name": "loglevel",
747
- "type": "option",
748
- "description": "logging level for this command invocation",
749
- "required": false,
750
- "helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)",
751
- "multiple": false,
752
- "options": [
753
- "trace",
754
- "debug",
755
- "info",
756
- "warn",
757
- "error",
758
- "fatal",
759
- "TRACE",
760
- "DEBUG",
761
- "INFO",
762
- "WARN",
763
- "ERROR",
764
- "FATAL"
765
- ],
766
- "default": "warn"
540
+ "description": "Format output as json.",
541
+ "helpGroup": "GLOBAL",
542
+ "allowNo": false,
543
+ "deprecateAliases": true
767
544
  },
768
545
  "browser": {
769
546
  "name": "browser",
770
547
  "type": "option",
771
548
  "char": "b",
772
- "description": "browser where the org opens",
773
- "helpValue": "(chrome|edge|firefox)",
549
+ "summary": "browser where the org opens",
774
550
  "multiple": false,
775
551
  "options": [
776
552
  "chrome",
777
553
  "edge",
778
554
  "firefox"
779
- ]
555
+ ],
556
+ "deprecateAliases": true
780
557
  },
781
- "clientid": {
782
- "name": "clientid",
558
+ "client-id": {
559
+ "name": "client-id",
783
560
  "type": "option",
784
561
  "char": "i",
785
- "description": "OAuth client ID (sometimes called the consumer key)",
786
- "multiple": false
562
+ "summary": "OAuth client ID (sometimes called the consumer key)",
563
+ "multiple": false,
564
+ "deprecateAliases": true,
565
+ "aliases": [
566
+ "clientid"
567
+ ]
787
568
  },
788
- "instanceurl": {
789
- "name": "instanceurl",
569
+ "instance-url": {
570
+ "name": "instance-url",
790
571
  "type": "option",
791
572
  "char": "r",
792
- "description": "the login URL of the instance the org lives on",
793
- "multiple": false
573
+ "summary": "the login URL of the instance the org lives on",
574
+ "multiple": false,
575
+ "deprecateAliases": true,
576
+ "aliases": [
577
+ "instanceurl"
578
+ ]
794
579
  },
795
- "setdefaultdevhubusername": {
796
- "name": "setdefaultdevhubusername",
580
+ "set-default-dev-hub": {
581
+ "name": "set-default-dev-hub",
797
582
  "type": "boolean",
798
583
  "char": "d",
799
- "description": "set the authenticated org as the default dev hub org for scratch org creation",
800
- "allowNo": false
584
+ "summary": "set the authenticated org as the default dev hub org for scratch org creation",
585
+ "allowNo": false,
586
+ "deprecateAliases": true,
587
+ "aliases": [
588
+ "setdefaultdevhubusername"
589
+ ]
801
590
  },
802
- "setdefaultusername": {
803
- "name": "setdefaultusername",
591
+ "set-default": {
592
+ "name": "set-default",
804
593
  "type": "boolean",
805
594
  "char": "s",
806
- "description": "set the authenticated org as the default username that all commands run against",
807
- "allowNo": false
595
+ "summary": "set the authenticated org as the default username that all commands run against",
596
+ "allowNo": false,
597
+ "deprecateAliases": true,
598
+ "aliases": [
599
+ "setdefaultusername"
600
+ ]
808
601
  },
809
- "setalias": {
810
- "name": "setalias",
602
+ "alias": {
603
+ "name": "alias",
811
604
  "type": "option",
812
605
  "char": "a",
813
- "description": "set an alias for the authenticated org",
814
- "multiple": false
606
+ "summary": "set an alias for the authenticated org",
607
+ "multiple": false,
608
+ "deprecateAliases": true,
609
+ "aliases": [
610
+ "setalias"
611
+ ]
815
612
  },
816
- "disablemasking": {
817
- "name": "disablemasking",
613
+ "disable-masking": {
614
+ "name": "disable-masking",
818
615
  "type": "boolean",
819
- "description": "disable masking of user input (for use with problematic terminals)",
616
+ "summary": "disable masking of user input (for use with problematic terminals)",
820
617
  "hidden": true,
821
- "allowNo": false
618
+ "allowNo": false,
619
+ "deprecateAliases": true,
620
+ "aliases": [
621
+ "disablemasking"
622
+ ]
822
623
  },
823
- "noprompt": {
824
- "name": "noprompt",
624
+ "no-prompt": {
625
+ "name": "no-prompt",
825
626
  "type": "boolean",
826
627
  "char": "p",
827
- "description": "do not prompt for auth confirmation in demo mode",
628
+ "summary": "do not prompt for auth confirmation in demo mode",
828
629
  "hidden": true,
829
630
  "required": false,
830
- "allowNo": false
831
- }
832
- },
833
- "args": {},
834
- "flagsConfig": {
835
- "browser": {
836
- "kind": "enum",
837
- "helpValue": "(chrome|edge|firefox)",
838
- "char": "b",
839
- "description": "browser where the org opens",
840
- "options": [
841
- "chrome",
842
- "edge",
843
- "firefox"
844
- ],
845
- "input": [],
846
- "multiple": false,
847
- "type": "option"
848
- },
849
- "clientid": {
850
- "kind": "string",
851
- "char": "i",
852
- "description": "OAuth client ID (sometimes called the consumer key)",
853
- "input": [],
854
- "multiple": false,
855
- "type": "option"
856
- },
857
- "instanceurl": {
858
- "kind": "url",
859
- "char": "r",
860
- "description": "the login URL of the instance the org lives on",
861
- "input": [],
862
- "multiple": false,
863
- "type": "option"
864
- },
865
- "setdefaultdevhubusername": {
866
- "kind": "boolean",
867
- "char": "d",
868
- "description": "set the authenticated org as the default dev hub org for scratch org creation",
869
631
  "allowNo": false,
870
- "type": "boolean"
871
- },
872
- "setdefaultusername": {
873
- "kind": "boolean",
874
- "char": "s",
875
- "description": "set the authenticated org as the default username that all commands run against",
876
- "allowNo": false,
877
- "type": "boolean"
878
- },
879
- "setalias": {
880
- "kind": "string",
881
- "char": "a",
882
- "description": "set an alias for the authenticated org",
883
- "input": [],
884
- "multiple": false,
885
- "type": "option"
886
- },
887
- "disablemasking": {
888
- "kind": "boolean",
889
- "description": "disable masking of user input (for use with problematic terminals)",
890
- "hidden": true,
891
- "allowNo": false,
892
- "type": "boolean"
632
+ "deprecateAliases": true,
633
+ "aliases": [
634
+ "noprompt"
635
+ ]
893
636
  },
894
- "noprompt": {
895
- "kind": "boolean",
896
- "char": "p",
897
- "description": "do not prompt for auth confirmation in demo mode",
898
- "required": false,
637
+ "loglevel": {
638
+ "name": "loglevel",
639
+ "type": "option",
899
640
  "hidden": true,
900
- "allowNo": false,
901
- "type": "boolean"
641
+ "multiple": false,
642
+ "deprecated": {
643
+ "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."
644
+ },
645
+ "deprecateAliases": true
902
646
  }
903
- }
647
+ },
648
+ "args": {}
904
649
  }
905
650
  }
906
651
  }