@salesforce/plugin-signups 1.5.6 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/README.md +66 -66
  2. package/lib/commands/org/create/shape.d.ts +3 -3
  3. package/lib/commands/org/create/shape.js +20 -22
  4. package/lib/commands/org/create/shape.js.map +1 -1
  5. package/lib/commands/org/create/snapshot.d.ts +7 -7
  6. package/lib/commands/org/create/snapshot.js +46 -50
  7. package/lib/commands/org/create/snapshot.js.map +1 -1
  8. package/lib/commands/org/delete/shape.d.ts +5 -20
  9. package/lib/commands/org/delete/shape.js +28 -73
  10. package/lib/commands/org/delete/shape.js.map +1 -1
  11. package/lib/commands/org/delete/snapshot.d.ts +4 -4
  12. package/lib/commands/org/delete/snapshot.js +28 -30
  13. package/lib/commands/org/delete/snapshot.js.map +1 -1
  14. package/lib/commands/org/get/snapshot.d.ts +5 -5
  15. package/lib/commands/org/get/snapshot.js +27 -29
  16. package/lib/commands/org/get/snapshot.js.map +1 -1
  17. package/lib/commands/org/list/shape.d.ts +3 -7
  18. package/lib/commands/org/list/shape.js +22 -34
  19. package/lib/commands/org/list/shape.js.map +1 -1
  20. package/lib/commands/org/list/snapshot.d.ts +4 -4
  21. package/lib/commands/org/list/snapshot.js +21 -23
  22. package/lib/commands/org/list/snapshot.js.map +1 -1
  23. package/lib/index.d.ts +1 -1
  24. package/lib/index.js +1 -2
  25. package/lib/index.js.map +1 -1
  26. package/lib/shared/deleteUtils.d.ts +19 -0
  27. package/lib/shared/deleteUtils.js +58 -0
  28. package/lib/shared/deleteUtils.js.map +1 -0
  29. package/lib/shared/orgShapeListUtils.d.ts +13 -0
  30. package/lib/shared/orgShapeListUtils.js +26 -13
  31. package/lib/shared/orgShapeListUtils.js.map +1 -1
  32. package/lib/shared/snapshot.d.ts +0 -2
  33. package/lib/shared/snapshot.js +20 -32
  34. package/lib/shared/snapshot.js.map +1 -1
  35. package/messages/messages.md +4 -0
  36. package/oclif.lock +611 -718
  37. package/oclif.manifest.json +573 -245
  38. package/package.json +35 -55
@@ -1,486 +1,814 @@
1
1
  {
2
- "version": "1.5.6",
3
2
  "commands": {
4
3
  "org:create:shape": {
5
- "id": "org:create:shape",
6
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
7
- "description": "Scratch org shapes mimic the baseline setup (features, limits, edition, and Metadata API settings) of a source org without the extraneous data and metadata.\n\nRun \"<%= config.bin %> org list shape\" to view the available org shapes and their IDs.\n\nTo create a scratch org from an org shape, include the \"sourceOrg\" property in the scratch org definition file and set it to the org ID of the source org. Then create a scratch org with the \"<%= config.bin %> force:org:create\" command.",
8
- "strict": true,
9
- "pluginName": "@salesforce/plugin-signups",
10
- "pluginAlias": "@salesforce/plugin-signups",
11
- "pluginType": "core",
12
4
  "aliases": [
13
5
  "force:org:shape:create"
14
6
  ],
7
+ "args": {},
8
+ "deprecateAliases": true,
9
+ "description": "Scratch org shapes mimic the baseline setup (features, limits, edition, and Metadata API settings) of a source org without the extraneous data and metadata.\n\nRun \"<%= config.bin %> org list shape\" to view the available org shapes and their IDs.\n\nTo create a scratch org from an org shape, include the \"sourceOrg\" property in the scratch org definition file and set it to the org ID of the source org. Then create a scratch org with the \"<%= config.bin %> force:org:create\" command.",
15
10
  "examples": [
16
11
  "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
17
12
  ],
18
- "deprecateAliases": true,
19
13
  "flags": {
20
14
  "json": {
21
- "name": "json",
22
- "type": "boolean",
23
15
  "description": "Format output as json.",
24
16
  "helpGroup": "GLOBAL",
17
+ "name": "json",
25
18
  "allowNo": false,
26
- "deprecateAliases": true
19
+ "type": "boolean"
27
20
  },
28
21
  "target-org": {
29
- "name": "target-org",
30
- "type": "option",
31
- "char": "o",
32
- "summary": "Username or alias of the target org.",
33
- "required": true,
34
- "multiple": false,
35
- "deprecateAliases": true,
36
22
  "aliases": [
37
23
  "targetusername",
38
24
  "u"
39
- ]
25
+ ],
26
+ "char": "o",
27
+ "deprecateAliases": true,
28
+ "name": "target-org",
29
+ "noCacheDefault": true,
30
+ "required": true,
31
+ "summary": "Username or alias of the target org.",
32
+ "hasDynamicHelp": true,
33
+ "multiple": false,
34
+ "type": "option"
40
35
  },
41
36
  "api-version": {
42
- "name": "api-version",
43
- "type": "option",
44
- "description": "Override the api version used for api requests made by this command",
45
- "multiple": false,
46
- "deprecateAliases": true,
47
37
  "aliases": [
48
38
  "apiversion"
49
- ]
39
+ ],
40
+ "deprecateAliases": true,
41
+ "description": "Override the api version used for api requests made by this command",
42
+ "name": "api-version",
43
+ "hasDynamicHelp": false,
44
+ "multiple": false,
45
+ "type": "option"
50
46
  },
51
47
  "loglevel": {
52
- "name": "loglevel",
53
- "type": "option",
54
- "hidden": true,
55
- "multiple": false,
56
48
  "deprecated": {
57
49
  "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."
58
50
  },
59
- "deprecateAliases": true
51
+ "hidden": true,
52
+ "name": "loglevel",
53
+ "hasDynamicHelp": false,
54
+ "multiple": false,
55
+ "type": "option"
60
56
  }
61
57
  },
62
- "args": {},
63
- "hasDynamicHelp": true
64
- },
65
- "org:create:snapshot": {
66
- "id": "org:create:snapshot",
67
- "summary": "Create a snapshot of a scratch org.",
68
- "description": "A snapshot is a point-in-time copy of a scratch org. The copy is referenced by its unique name in a scratch org definition file.\n\nUse \"<%= config.bin %> org get snapshot\" to get details, including status, about a snapshot creation request.\n\nTo create a scratch org from a snapshot, include the \"snapshot\" option (instead of \"edition\") in the scratch org definition file and set it to the name of the snapshot. Then use \"<%= config.bin %> force:org:create\" to create the scratch org.",
69
- "strict": true,
70
- "pluginName": "@salesforce/plugin-signups",
58
+ "hasDynamicHelp": true,
59
+ "hiddenAliases": [],
60
+ "id": "org:create:shape",
71
61
  "pluginAlias": "@salesforce/plugin-signups",
62
+ "pluginName": "@salesforce/plugin-signups",
72
63
  "pluginType": "core",
73
- "state": "closedPilot",
64
+ "strict": true,
65
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
66
+ "enableJsonFlag": true,
67
+ "SF_ENV": "SF_ENV",
68
+ "isESM": true,
69
+ "relativePath": [
70
+ "lib",
71
+ "commands",
72
+ "org",
73
+ "create",
74
+ "shape.js"
75
+ ],
76
+ "aliasPermutations": [
77
+ "force:org:shape:create",
78
+ "org:force:shape:create",
79
+ "org:shape:force:create",
80
+ "org:shape:create:force",
81
+ "force:shape:org:create",
82
+ "shape:force:org:create",
83
+ "shape:org:force:create",
84
+ "shape:org:create:force",
85
+ "force:shape:create:org",
86
+ "shape:force:create:org",
87
+ "shape:create:force:org",
88
+ "shape:create:org:force",
89
+ "force:org:create:shape",
90
+ "org:force:create:shape",
91
+ "org:create:force:shape",
92
+ "org:create:shape:force",
93
+ "force:create:org:shape",
94
+ "create:force:org:shape",
95
+ "create:org:force:shape",
96
+ "create:org:shape:force",
97
+ "force:create:shape:org",
98
+ "create:force:shape:org",
99
+ "create:shape:force:org",
100
+ "create:shape:org:force"
101
+ ],
102
+ "permutations": [
103
+ "org:create:shape",
104
+ "create:org:shape",
105
+ "create:shape:org",
106
+ "org:shape:create",
107
+ "shape:org:create",
108
+ "shape:create:org"
109
+ ]
110
+ },
111
+ "org:create:snapshot": {
74
112
  "aliases": [
75
113
  "force:org:snapshot:create"
76
114
  ],
115
+ "args": {},
116
+ "deprecateAliases": true,
117
+ "description": "A snapshot is a point-in-time copy of a scratch org. The copy is referenced by its unique name in a scratch org definition file.\n\nUse \"<%= config.bin %> org get snapshot\" to get details, including status, about a snapshot creation request.\n\nTo create a scratch org from a snapshot, include the \"snapshot\" option (instead of \"edition\") in the scratch org definition file and set it to the name of the snapshot. Then use \"<%= config.bin %> force:org:create\" to create the scratch org.",
77
118
  "examples": [
78
119
  "Create a snapshot called \"Dependencies\" using the source scratch org ID and your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --source-org 00Dxx0000000000 --name Dependencies --description 'Contains PackageA v1.1.0'",
79
120
  "Create a snapshot called \"NightlyBranch\" using the source scratch org username and a Dev Hub org with alias NightlyDevHub:\n<%= config.bin %> <%= command.id %> --source-org myuser@myorg --name NightlyBranch --description 'Contains PkgA v2.1.0 and PkgB 3.3.0' --target-dev-hub NightlyDevHub"
80
121
  ],
81
- "deprecateAliases": true,
82
122
  "flags": {
83
123
  "json": {
84
- "name": "json",
85
- "type": "boolean",
86
124
  "description": "Format output as json.",
87
125
  "helpGroup": "GLOBAL",
126
+ "name": "json",
88
127
  "allowNo": false,
89
- "deprecateAliases": true
128
+ "type": "boolean"
90
129
  },
91
130
  "target-dev-hub": {
92
- "name": "target-dev-hub",
93
- "type": "option",
131
+ "aliases": [
132
+ "targetdevhubusername"
133
+ ],
94
134
  "char": "v",
95
- "summary": "Username or alias of the Dev Hub org.",
135
+ "deprecateAliases": true,
136
+ "name": "target-dev-hub",
137
+ "noCacheDefault": true,
96
138
  "required": true,
139
+ "summary": "Username or alias of the Dev Hub org.",
140
+ "hasDynamicHelp": true,
97
141
  "multiple": false,
98
- "deprecateAliases": true,
99
- "aliases": [
100
- "targetdevhubusername"
101
- ]
142
+ "type": "option"
102
143
  },
103
144
  "api-version": {
104
- "name": "api-version",
105
- "type": "option",
106
- "description": "Override the api version used for api requests made by this command",
107
- "multiple": false,
108
- "deprecateAliases": true,
109
145
  "aliases": [
110
146
  "apiversion"
111
- ]
147
+ ],
148
+ "deprecateAliases": true,
149
+ "description": "Override the api version used for api requests made by this command",
150
+ "name": "api-version",
151
+ "hasDynamicHelp": false,
152
+ "multiple": false,
153
+ "type": "option"
112
154
  },
113
155
  "loglevel": {
114
- "name": "loglevel",
115
- "type": "option",
116
- "hidden": true,
117
- "multiple": false,
118
156
  "deprecated": {
119
157
  "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."
120
158
  },
121
- "deprecateAliases": true
159
+ "hidden": true,
160
+ "name": "loglevel",
161
+ "hasDynamicHelp": false,
162
+ "multiple": false,
163
+ "type": "option"
122
164
  },
123
165
  "source-org": {
124
- "name": "source-org",
125
- "type": "option",
166
+ "aliases": [
167
+ "sourceorg"
168
+ ],
126
169
  "char": "o",
127
- "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
170
+ "deprecateAliases": true,
171
+ "name": "source-org",
128
172
  "required": true,
173
+ "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
174
+ "hasDynamicHelp": false,
129
175
  "multiple": false,
130
- "deprecateAliases": true,
131
- "aliases": [
132
- "sourceorg"
133
- ]
176
+ "type": "option"
134
177
  },
135
178
  "name": {
136
- "name": "name",
137
- "type": "option",
179
+ "aliases": [
180
+ "snapshotname"
181
+ ],
138
182
  "char": "n",
139
- "summary": "Unique name of snapshot.",
183
+ "deprecateAliases": true,
184
+ "name": "name",
140
185
  "required": true,
186
+ "summary": "Unique name of snapshot.",
187
+ "hasDynamicHelp": false,
141
188
  "multiple": false,
142
- "deprecateAliases": true,
143
- "aliases": [
144
- "snapshotname"
145
- ]
189
+ "type": "option"
146
190
  },
147
191
  "description": {
148
- "name": "description",
149
- "type": "option",
150
192
  "char": "d",
151
- "summary": "Description of snapshot.",
152
193
  "description": "Use this description to document the contents of the snapshot. We suggest that you include a reference point, such as a version control system tag or commit ID.",
194
+ "name": "description",
195
+ "summary": "Description of snapshot.",
196
+ "hasDynamicHelp": false,
153
197
  "multiple": false,
154
- "deprecateAliases": true
198
+ "type": "option"
155
199
  }
156
200
  },
157
- "args": {},
158
- "hasDynamicHelp": true
159
- },
160
- "org:delete:shape": {
161
- "id": "org:delete:shape",
162
- "summary": "Delete all org shapes for a target org.",
163
- "description": "A source org can have only one active org shape. If you try to create an org shape for a source org that already has one, the previous shape is marked inactive and replaced by a new active shape. If you don’t want to create scratch orgs based on this shape, you can delete the org shape.",
164
- "strict": true,
165
- "pluginName": "@salesforce/plugin-signups",
201
+ "hasDynamicHelp": true,
202
+ "hiddenAliases": [],
203
+ "id": "org:create:snapshot",
166
204
  "pluginAlias": "@salesforce/plugin-signups",
205
+ "pluginName": "@salesforce/plugin-signups",
167
206
  "pluginType": "core",
207
+ "state": "closedPilot",
208
+ "strict": true,
209
+ "summary": "Create a snapshot of a scratch org.",
210
+ "enableJsonFlag": true,
211
+ "SF_ENV": "SF_ENV",
212
+ "isESM": true,
213
+ "relativePath": [
214
+ "lib",
215
+ "commands",
216
+ "org",
217
+ "create",
218
+ "snapshot.js"
219
+ ],
220
+ "aliasPermutations": [
221
+ "force:org:snapshot:create",
222
+ "org:force:snapshot:create",
223
+ "org:snapshot:force:create",
224
+ "org:snapshot:create:force",
225
+ "force:snapshot:org:create",
226
+ "snapshot:force:org:create",
227
+ "snapshot:org:force:create",
228
+ "snapshot:org:create:force",
229
+ "force:snapshot:create:org",
230
+ "snapshot:force:create:org",
231
+ "snapshot:create:force:org",
232
+ "snapshot:create:org:force",
233
+ "force:org:create:snapshot",
234
+ "org:force:create:snapshot",
235
+ "org:create:force:snapshot",
236
+ "org:create:snapshot:force",
237
+ "force:create:org:snapshot",
238
+ "create:force:org:snapshot",
239
+ "create:org:force:snapshot",
240
+ "create:org:snapshot:force",
241
+ "force:create:snapshot:org",
242
+ "create:force:snapshot:org",
243
+ "create:snapshot:force:org",
244
+ "create:snapshot:org:force"
245
+ ],
246
+ "permutations": [
247
+ "org:create:snapshot",
248
+ "create:org:snapshot",
249
+ "create:snapshot:org",
250
+ "org:snapshot:create",
251
+ "snapshot:org:create",
252
+ "snapshot:create:org"
253
+ ]
254
+ },
255
+ "org:delete:shape": {
168
256
  "aliases": [
169
257
  "force:org:shape:delete"
170
258
  ],
259
+ "args": {},
260
+ "deprecateAliases": true,
261
+ "description": "A source org can have only one active org shape. If you try to create an org shape for a source org that already has one, the previous shape is marked inactive and replaced by a new active shape. If you don’t want to create scratch orgs based on this shape, you can delete the org shape.",
171
262
  "examples": [
172
263
  "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
173
264
  "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
174
265
  ],
175
- "deprecateAliases": true,
176
266
  "flags": {
177
267
  "json": {
178
- "name": "json",
179
- "type": "boolean",
180
268
  "description": "Format output as json.",
181
269
  "helpGroup": "GLOBAL",
270
+ "name": "json",
182
271
  "allowNo": false,
183
- "deprecateAliases": true
272
+ "type": "boolean"
184
273
  },
185
274
  "target-org": {
186
- "name": "target-org",
187
- "type": "option",
188
- "char": "o",
189
- "summary": "Username or alias of the target org.",
190
- "required": true,
191
- "multiple": false,
192
- "deprecateAliases": true,
193
275
  "aliases": [
194
276
  "targetusername",
195
277
  "u"
196
- ]
278
+ ],
279
+ "char": "o",
280
+ "deprecateAliases": true,
281
+ "name": "target-org",
282
+ "noCacheDefault": true,
283
+ "required": true,
284
+ "summary": "Username or alias of the target org.",
285
+ "hasDynamicHelp": true,
286
+ "multiple": false,
287
+ "type": "option"
197
288
  },
198
289
  "api-version": {
199
- "name": "api-version",
200
- "type": "option",
201
- "description": "Override the api version used for api requests made by this command",
202
- "multiple": false,
203
- "deprecateAliases": true,
204
290
  "aliases": [
205
291
  "apiversion"
206
- ]
292
+ ],
293
+ "deprecateAliases": true,
294
+ "description": "Override the api version used for api requests made by this command",
295
+ "name": "api-version",
296
+ "hasDynamicHelp": false,
297
+ "multiple": false,
298
+ "type": "option"
207
299
  },
208
300
  "loglevel": {
209
- "name": "loglevel",
210
- "type": "option",
211
- "hidden": true,
212
- "multiple": false,
213
301
  "deprecated": {
214
302
  "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."
215
303
  },
216
- "deprecateAliases": true
304
+ "hidden": true,
305
+ "name": "loglevel",
306
+ "hasDynamicHelp": false,
307
+ "multiple": false,
308
+ "type": "option"
217
309
  },
218
310
  "no-prompt": {
219
- "name": "no-prompt",
220
- "type": "boolean",
311
+ "aliases": [
312
+ "noprompt"
313
+ ],
221
314
  "char": "p",
315
+ "deprecateAliases": true,
316
+ "name": "no-prompt",
222
317
  "summary": "Don't prompt for confirmation.",
223
318
  "allowNo": false,
224
- "deprecateAliases": true,
225
- "aliases": [
226
- "noprompt"
227
- ]
319
+ "type": "boolean"
228
320
  }
229
321
  },
230
- "args": {},
231
- "hasDynamicHelp": true
232
- },
233
- "org:delete:snapshot": {
234
- "id": "org:delete:snapshot",
235
- "summary": "Delete a scratch org snapshot.",
236
- "description": "Dev Hub admins can delete any snapshot, while users can delete only their own unless a Dev Hub admin gives the user Modify All permissions.",
237
- "strict": true,
238
- "pluginName": "@salesforce/plugin-signups",
322
+ "hasDynamicHelp": true,
323
+ "hiddenAliases": [],
324
+ "id": "org:delete:shape",
239
325
  "pluginAlias": "@salesforce/plugin-signups",
326
+ "pluginName": "@salesforce/plugin-signups",
240
327
  "pluginType": "core",
241
- "state": "closedPilot",
328
+ "strict": true,
329
+ "summary": "Delete all org shapes for a target org.",
330
+ "enableJsonFlag": true,
331
+ "SF_ENV": "SF_ENV",
332
+ "isESM": true,
333
+ "relativePath": [
334
+ "lib",
335
+ "commands",
336
+ "org",
337
+ "delete",
338
+ "shape.js"
339
+ ],
340
+ "aliasPermutations": [
341
+ "force:org:shape:delete",
342
+ "org:force:shape:delete",
343
+ "org:shape:force:delete",
344
+ "org:shape:delete:force",
345
+ "force:shape:org:delete",
346
+ "shape:force:org:delete",
347
+ "shape:org:force:delete",
348
+ "shape:org:delete:force",
349
+ "force:shape:delete:org",
350
+ "shape:force:delete:org",
351
+ "shape:delete:force:org",
352
+ "shape:delete:org:force",
353
+ "force:org:delete:shape",
354
+ "org:force:delete:shape",
355
+ "org:delete:force:shape",
356
+ "org:delete:shape:force",
357
+ "force:delete:org:shape",
358
+ "delete:force:org:shape",
359
+ "delete:org:force:shape",
360
+ "delete:org:shape:force",
361
+ "force:delete:shape:org",
362
+ "delete:force:shape:org",
363
+ "delete:shape:force:org",
364
+ "delete:shape:org:force"
365
+ ],
366
+ "permutations": [
367
+ "org:delete:shape",
368
+ "delete:org:shape",
369
+ "delete:shape:org",
370
+ "org:shape:delete",
371
+ "shape:org:delete",
372
+ "shape:delete:org"
373
+ ]
374
+ },
375
+ "org:delete:snapshot": {
242
376
  "aliases": [
243
377
  "force:org:snapshot:delete"
244
378
  ],
379
+ "args": {},
380
+ "deprecateAliases": true,
381
+ "description": "Dev Hub admins can delete any snapshot, while users can delete only their own unless a Dev Hub admin gives the user Modify All permissions.",
245
382
  "examples": [
246
383
  "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
247
384
  "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
248
385
  ],
249
- "deprecateAliases": true,
250
386
  "flags": {
251
387
  "json": {
252
- "name": "json",
253
- "type": "boolean",
254
388
  "description": "Format output as json.",
255
389
  "helpGroup": "GLOBAL",
390
+ "name": "json",
256
391
  "allowNo": false,
257
- "deprecateAliases": true
392
+ "type": "boolean"
258
393
  },
259
394
  "target-dev-hub": {
260
- "name": "target-dev-hub",
261
- "type": "option",
395
+ "aliases": [
396
+ "targetdevhubusername"
397
+ ],
262
398
  "char": "v",
263
- "summary": "Username or alias of the Dev Hub org.",
399
+ "deprecateAliases": true,
400
+ "name": "target-dev-hub",
401
+ "noCacheDefault": true,
264
402
  "required": true,
403
+ "summary": "Username or alias of the Dev Hub org.",
404
+ "hasDynamicHelp": true,
265
405
  "multiple": false,
266
- "deprecateAliases": true,
267
- "aliases": [
268
- "targetdevhubusername"
269
- ]
406
+ "type": "option"
270
407
  },
271
408
  "api-version": {
272
- "name": "api-version",
273
- "type": "option",
274
- "description": "Override the api version used for api requests made by this command",
275
- "multiple": false,
276
- "deprecateAliases": true,
277
409
  "aliases": [
278
410
  "apiversion"
279
- ]
411
+ ],
412
+ "deprecateAliases": true,
413
+ "description": "Override the api version used for api requests made by this command",
414
+ "name": "api-version",
415
+ "hasDynamicHelp": false,
416
+ "multiple": false,
417
+ "type": "option"
280
418
  },
281
419
  "loglevel": {
282
- "name": "loglevel",
283
- "type": "option",
284
- "hidden": true,
285
- "multiple": false,
286
420
  "deprecated": {
287
421
  "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."
288
422
  },
289
- "deprecateAliases": true
423
+ "hidden": true,
424
+ "name": "loglevel",
425
+ "hasDynamicHelp": false,
426
+ "multiple": false,
427
+ "type": "option"
290
428
  },
291
429
  "snapshot": {
292
- "name": "snapshot",
293
- "type": "option",
294
430
  "char": "s",
295
- "summary": "Name or ID of snapshot to delete.",
296
431
  "description": "The IDs of scratch org snapshots start with 0Oo.",
432
+ "name": "snapshot",
297
433
  "required": true,
434
+ "summary": "Name or ID of snapshot to delete.",
435
+ "hasDynamicHelp": false,
298
436
  "multiple": false,
299
- "deprecateAliases": true
437
+ "type": "option"
300
438
  }
301
439
  },
302
- "args": {},
303
- "hasDynamicHelp": true
304
- },
305
- "org:get:snapshot": {
306
- "id": "org:get:snapshot",
307
- "summary": "Get details about a scratch org snapshot.",
308
- "description": "Snapshot creation can take a while. Use this command with the snapshot name or ID to check its creation status. After the status changes to Active, you can use the snapshot to create scratch orgs.\n\nTo create a snapshot, use the \"<%= config.bin %> org create snapshot\" command. To retrieve a list of all snapshots, use \"<%= config.bin %> org list snapshot\".",
309
- "strict": true,
310
- "pluginName": "@salesforce/plugin-signups",
440
+ "hasDynamicHelp": true,
441
+ "hiddenAliases": [],
442
+ "id": "org:delete:snapshot",
311
443
  "pluginAlias": "@salesforce/plugin-signups",
444
+ "pluginName": "@salesforce/plugin-signups",
312
445
  "pluginType": "core",
313
446
  "state": "closedPilot",
447
+ "strict": true,
448
+ "summary": "Delete a scratch org snapshot.",
449
+ "enableJsonFlag": true,
450
+ "SF_ENV": "SF_ENV",
451
+ "isESM": true,
452
+ "relativePath": [
453
+ "lib",
454
+ "commands",
455
+ "org",
456
+ "delete",
457
+ "snapshot.js"
458
+ ],
459
+ "aliasPermutations": [
460
+ "force:org:snapshot:delete",
461
+ "org:force:snapshot:delete",
462
+ "org:snapshot:force:delete",
463
+ "org:snapshot:delete:force",
464
+ "force:snapshot:org:delete",
465
+ "snapshot:force:org:delete",
466
+ "snapshot:org:force:delete",
467
+ "snapshot:org:delete:force",
468
+ "force:snapshot:delete:org",
469
+ "snapshot:force:delete:org",
470
+ "snapshot:delete:force:org",
471
+ "snapshot:delete:org:force",
472
+ "force:org:delete:snapshot",
473
+ "org:force:delete:snapshot",
474
+ "org:delete:force:snapshot",
475
+ "org:delete:snapshot:force",
476
+ "force:delete:org:snapshot",
477
+ "delete:force:org:snapshot",
478
+ "delete:org:force:snapshot",
479
+ "delete:org:snapshot:force",
480
+ "force:delete:snapshot:org",
481
+ "delete:force:snapshot:org",
482
+ "delete:snapshot:force:org",
483
+ "delete:snapshot:org:force"
484
+ ],
485
+ "permutations": [
486
+ "org:delete:snapshot",
487
+ "delete:org:snapshot",
488
+ "delete:snapshot:org",
489
+ "org:snapshot:delete",
490
+ "snapshot:org:delete",
491
+ "snapshot:delete:org"
492
+ ]
493
+ },
494
+ "org:get:snapshot": {
314
495
  "aliases": [
315
496
  "force:org:snapshot:get"
316
497
  ],
498
+ "args": {},
499
+ "deprecateAliases": true,
500
+ "description": "Snapshot creation can take a while. Use this command with the snapshot name or ID to check its creation status. After the status changes to Active, you can use the snapshot to create scratch orgs.\n\nTo create a snapshot, use the \"<%= config.bin %> org create snapshot\" command. To retrieve a list of all snapshots, use \"<%= config.bin %> org list snapshot\".",
317
501
  "examples": [
318
502
  "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
319
503
  "Get snapshot details using its name from a Dev Hub org with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --snapshot Dependencies --target-dev-hub SnapshotDevHub"
320
504
  ],
321
- "deprecateAliases": true,
322
505
  "flags": {
323
506
  "json": {
324
- "name": "json",
325
- "type": "boolean",
326
507
  "description": "Format output as json.",
327
508
  "helpGroup": "GLOBAL",
509
+ "name": "json",
328
510
  "allowNo": false,
329
- "deprecateAliases": true
511
+ "type": "boolean"
330
512
  },
331
513
  "target-dev-hub": {
332
- "name": "target-dev-hub",
333
- "type": "option",
514
+ "aliases": [
515
+ "targetdevhubusername"
516
+ ],
334
517
  "char": "v",
335
- "summary": "Username or alias of the Dev Hub org.",
518
+ "deprecateAliases": true,
519
+ "name": "target-dev-hub",
520
+ "noCacheDefault": true,
336
521
  "required": true,
522
+ "summary": "Username or alias of the Dev Hub org.",
523
+ "hasDynamicHelp": true,
337
524
  "multiple": false,
338
- "deprecateAliases": true,
339
- "aliases": [
340
- "targetdevhubusername"
341
- ]
525
+ "type": "option"
342
526
  },
343
527
  "api-version": {
344
- "name": "api-version",
345
- "type": "option",
346
- "description": "Override the api version used for api requests made by this command",
347
- "multiple": false,
348
- "deprecateAliases": true,
349
528
  "aliases": [
350
529
  "apiversion"
351
- ]
530
+ ],
531
+ "deprecateAliases": true,
532
+ "description": "Override the api version used for api requests made by this command",
533
+ "name": "api-version",
534
+ "hasDynamicHelp": false,
535
+ "multiple": false,
536
+ "type": "option"
352
537
  },
353
538
  "loglevel": {
354
- "name": "loglevel",
355
- "type": "option",
356
- "hidden": true,
357
- "multiple": false,
358
539
  "deprecated": {
359
540
  "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."
360
541
  },
361
- "deprecateAliases": true
542
+ "hidden": true,
543
+ "name": "loglevel",
544
+ "hasDynamicHelp": false,
545
+ "multiple": false,
546
+ "type": "option"
362
547
  },
363
548
  "snapshot": {
364
- "name": "snapshot",
365
- "type": "option",
366
549
  "char": "s",
367
- "summary": "Name or ID of snapshot to retrieve.",
368
550
  "description": "The IDs of scratch org snapshots start with 0Oo.",
551
+ "name": "snapshot",
369
552
  "required": true,
553
+ "summary": "Name or ID of snapshot to retrieve.",
554
+ "hasDynamicHelp": false,
370
555
  "multiple": false,
371
- "deprecateAliases": true
556
+ "type": "option"
372
557
  }
373
558
  },
374
- "args": {},
375
- "hasDynamicHelp": true
376
- },
377
- "org:list:shape": {
378
- "id": "org:list:shape",
379
- "summary": "List all org shapes you’ve created.",
380
- "description": "The output includes the alias, username, and ID of the source org, the status of the org shape creation, and more. Use the org ID to update your scratch org configuration file so you can create a scratch org based on this org shape.",
381
- "strict": true,
382
- "pluginName": "@salesforce/plugin-signups",
559
+ "hasDynamicHelp": true,
560
+ "hiddenAliases": [],
561
+ "id": "org:get:snapshot",
383
562
  "pluginAlias": "@salesforce/plugin-signups",
563
+ "pluginName": "@salesforce/plugin-signups",
384
564
  "pluginType": "core",
565
+ "state": "closedPilot",
566
+ "strict": true,
567
+ "summary": "Get details about a scratch org snapshot.",
568
+ "enableJsonFlag": true,
569
+ "SF_ENV": "SF_ENV",
570
+ "isESM": true,
571
+ "relativePath": [
572
+ "lib",
573
+ "commands",
574
+ "org",
575
+ "get",
576
+ "snapshot.js"
577
+ ],
578
+ "aliasPermutations": [
579
+ "force:org:snapshot:get",
580
+ "org:force:snapshot:get",
581
+ "org:snapshot:force:get",
582
+ "org:snapshot:get:force",
583
+ "force:snapshot:org:get",
584
+ "snapshot:force:org:get",
585
+ "snapshot:org:force:get",
586
+ "snapshot:org:get:force",
587
+ "force:snapshot:get:org",
588
+ "snapshot:force:get:org",
589
+ "snapshot:get:force:org",
590
+ "snapshot:get:org:force",
591
+ "force:org:get:snapshot",
592
+ "org:force:get:snapshot",
593
+ "org:get:force:snapshot",
594
+ "org:get:snapshot:force",
595
+ "force:get:org:snapshot",
596
+ "get:force:org:snapshot",
597
+ "get:org:force:snapshot",
598
+ "get:org:snapshot:force",
599
+ "force:get:snapshot:org",
600
+ "get:force:snapshot:org",
601
+ "get:snapshot:force:org",
602
+ "get:snapshot:org:force"
603
+ ],
604
+ "permutations": [
605
+ "org:get:snapshot",
606
+ "get:org:snapshot",
607
+ "get:snapshot:org",
608
+ "org:snapshot:get",
609
+ "snapshot:org:get",
610
+ "snapshot:get:org"
611
+ ]
612
+ },
613
+ "org:list:shape": {
385
614
  "aliases": [
386
615
  "force:org:shape:list"
387
616
  ],
617
+ "args": {},
618
+ "deprecateAliases": true,
619
+ "description": "The output includes the alias, username, and ID of the source org, the status of the org shape creation, and more. Use the org ID to update your scratch org configuration file so you can create a scratch org based on this org shape.",
388
620
  "examples": [
389
621
  "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
390
622
  "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
391
623
  ],
392
- "deprecateAliases": true,
393
624
  "flags": {
394
625
  "json": {
395
- "name": "json",
396
- "type": "boolean",
397
626
  "description": "Format output as json.",
398
627
  "helpGroup": "GLOBAL",
628
+ "name": "json",
399
629
  "allowNo": false,
400
- "deprecateAliases": true
630
+ "type": "boolean"
401
631
  },
402
632
  "verbose": {
633
+ "hidden": true,
403
634
  "name": "verbose",
404
- "type": "boolean",
405
635
  "summary": "List more information about each org shape.",
406
- "hidden": true,
407
636
  "allowNo": false,
408
- "deprecateAliases": true
637
+ "type": "boolean"
409
638
  },
410
639
  "loglevel": {
411
- "name": "loglevel",
412
- "type": "option",
413
- "hidden": true,
414
- "multiple": false,
415
640
  "deprecated": {
416
641
  "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."
417
642
  },
418
- "deprecateAliases": true
643
+ "hidden": true,
644
+ "name": "loglevel",
645
+ "hasDynamicHelp": false,
646
+ "multiple": false,
647
+ "type": "option"
419
648
  }
420
649
  },
421
- "args": {}
422
- },
423
- "org:list:snapshot": {
424
- "id": "org:list:snapshot",
425
- "summary": "List scratch org snapshots.",
426
- "description": "You can view all the snapshots in a Dev Hub that you have access to. If you’re an admin, you can see all snapshots associated with the Dev Hub org. If you’re a user, you can see only your snapshots unless a Dev Hub admin gives you View All permissions.\n\nTo create a snapshot, use the \"<%= config.bin %> org create snapshot\" command. To get details about a snapshot request, use \"<%= config.bin %> org get snapshot\".",
427
- "strict": true,
428
- "pluginName": "@salesforce/plugin-signups",
650
+ "hasDynamicHelp": false,
651
+ "hiddenAliases": [],
652
+ "id": "org:list:shape",
429
653
  "pluginAlias": "@salesforce/plugin-signups",
654
+ "pluginName": "@salesforce/plugin-signups",
430
655
  "pluginType": "core",
431
- "state": "closedPilot",
656
+ "strict": true,
657
+ "summary": "List all org shapes you’ve created.",
658
+ "enableJsonFlag": true,
659
+ "SF_ENV": "SF_ENV",
660
+ "isESM": true,
661
+ "relativePath": [
662
+ "lib",
663
+ "commands",
664
+ "org",
665
+ "list",
666
+ "shape.js"
667
+ ],
668
+ "aliasPermutations": [
669
+ "force:org:shape:list",
670
+ "org:force:shape:list",
671
+ "org:shape:force:list",
672
+ "org:shape:list:force",
673
+ "force:shape:org:list",
674
+ "shape:force:org:list",
675
+ "shape:org:force:list",
676
+ "shape:org:list:force",
677
+ "force:shape:list:org",
678
+ "shape:force:list:org",
679
+ "shape:list:force:org",
680
+ "shape:list:org:force",
681
+ "force:org:list:shape",
682
+ "org:force:list:shape",
683
+ "org:list:force:shape",
684
+ "org:list:shape:force",
685
+ "force:list:org:shape",
686
+ "list:force:org:shape",
687
+ "list:org:force:shape",
688
+ "list:org:shape:force",
689
+ "force:list:shape:org",
690
+ "list:force:shape:org",
691
+ "list:shape:force:org",
692
+ "list:shape:org:force"
693
+ ],
694
+ "permutations": [
695
+ "org:list:shape",
696
+ "list:org:shape",
697
+ "list:shape:org",
698
+ "org:shape:list",
699
+ "shape:org:list",
700
+ "shape:list:org"
701
+ ]
702
+ },
703
+ "org:list:snapshot": {
432
704
  "aliases": [
433
705
  "force:org:snapshot:list"
434
706
  ],
707
+ "args": {},
708
+ "deprecateAliases": true,
709
+ "description": "You can view all the snapshots in a Dev Hub that you have access to. If you’re an admin, you can see all snapshots associated with the Dev Hub org. If you’re a user, you can see only your snapshots unless a Dev Hub admin gives you View All permissions.\n\nTo create a snapshot, use the \"<%= config.bin %> org create snapshot\" command. To get details about a snapshot request, use \"<%= config.bin %> org get snapshot\".",
435
710
  "examples": [
436
711
  "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
437
712
  "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
438
713
  ],
439
- "deprecateAliases": true,
440
714
  "flags": {
441
715
  "json": {
442
- "name": "json",
443
- "type": "boolean",
444
716
  "description": "Format output as json.",
445
717
  "helpGroup": "GLOBAL",
718
+ "name": "json",
446
719
  "allowNo": false,
447
- "deprecateAliases": true
720
+ "type": "boolean"
448
721
  },
449
722
  "target-dev-hub": {
450
- "name": "target-dev-hub",
451
- "type": "option",
723
+ "aliases": [
724
+ "targetdevhubusername"
725
+ ],
452
726
  "char": "v",
453
- "summary": "Username or alias of the Dev Hub org.",
727
+ "deprecateAliases": true,
728
+ "name": "target-dev-hub",
729
+ "noCacheDefault": true,
454
730
  "required": true,
731
+ "summary": "Username or alias of the Dev Hub org.",
732
+ "hasDynamicHelp": true,
455
733
  "multiple": false,
456
- "deprecateAliases": true,
457
- "aliases": [
458
- "targetdevhubusername"
459
- ]
734
+ "type": "option"
460
735
  },
461
736
  "api-version": {
462
- "name": "api-version",
463
- "type": "option",
464
- "description": "Override the api version used for api requests made by this command",
465
- "multiple": false,
466
- "deprecateAliases": true,
467
737
  "aliases": [
468
738
  "apiversion"
469
- ]
739
+ ],
740
+ "deprecateAliases": true,
741
+ "description": "Override the api version used for api requests made by this command",
742
+ "name": "api-version",
743
+ "hasDynamicHelp": false,
744
+ "multiple": false,
745
+ "type": "option"
470
746
  },
471
747
  "loglevel": {
472
- "name": "loglevel",
473
- "type": "option",
474
- "hidden": true,
475
- "multiple": false,
476
748
  "deprecated": {
477
749
  "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."
478
750
  },
479
- "deprecateAliases": true
751
+ "hidden": true,
752
+ "name": "loglevel",
753
+ "hasDynamicHelp": false,
754
+ "multiple": false,
755
+ "type": "option"
480
756
  }
481
757
  },
482
- "args": {},
483
- "hasDynamicHelp": true
758
+ "hasDynamicHelp": true,
759
+ "hiddenAliases": [],
760
+ "id": "org:list:snapshot",
761
+ "pluginAlias": "@salesforce/plugin-signups",
762
+ "pluginName": "@salesforce/plugin-signups",
763
+ "pluginType": "core",
764
+ "state": "closedPilot",
765
+ "strict": true,
766
+ "summary": "List scratch org snapshots.",
767
+ "enableJsonFlag": true,
768
+ "SF_ENV": "SF_ENV",
769
+ "isESM": true,
770
+ "relativePath": [
771
+ "lib",
772
+ "commands",
773
+ "org",
774
+ "list",
775
+ "snapshot.js"
776
+ ],
777
+ "aliasPermutations": [
778
+ "force:org:snapshot:list",
779
+ "org:force:snapshot:list",
780
+ "org:snapshot:force:list",
781
+ "org:snapshot:list:force",
782
+ "force:snapshot:org:list",
783
+ "snapshot:force:org:list",
784
+ "snapshot:org:force:list",
785
+ "snapshot:org:list:force",
786
+ "force:snapshot:list:org",
787
+ "snapshot:force:list:org",
788
+ "snapshot:list:force:org",
789
+ "snapshot:list:org:force",
790
+ "force:org:list:snapshot",
791
+ "org:force:list:snapshot",
792
+ "org:list:force:snapshot",
793
+ "org:list:snapshot:force",
794
+ "force:list:org:snapshot",
795
+ "list:force:org:snapshot",
796
+ "list:org:force:snapshot",
797
+ "list:org:snapshot:force",
798
+ "force:list:snapshot:org",
799
+ "list:force:snapshot:org",
800
+ "list:snapshot:force:org",
801
+ "list:snapshot:org:force"
802
+ ],
803
+ "permutations": [
804
+ "org:list:snapshot",
805
+ "list:org:snapshot",
806
+ "list:snapshot:org",
807
+ "org:snapshot:list",
808
+ "snapshot:org:list",
809
+ "snapshot:list:org"
810
+ ]
484
811
  }
485
- }
812
+ },
813
+ "version": "2.0.2"
486
814
  }