@salesforce/plugin-signups 2.6.27 → 2.6.28

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.
package/README.md CHANGED
@@ -123,7 +123,7 @@ EXAMPLES
123
123
  $ sf org create shape --target-org SourceOrg
124
124
  ```
125
125
 
126
- _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.27/src/commands/org/create/shape.ts)_
126
+ _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.28/src/commands/org/create/shape.ts)_
127
127
 
128
128
  ## `sf org create snapshot`
129
129
 
@@ -179,7 +179,7 @@ FLAG DESCRIPTIONS
179
179
  as a version control system tag or commit ID.
180
180
  ```
181
181
 
182
- _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.27/src/commands/org/create/snapshot.ts)_
182
+ _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.28/src/commands/org/create/snapshot.ts)_
183
183
 
184
184
  ## `sf org delete shape`
185
185
 
@@ -219,7 +219,7 @@ EXAMPLES
219
219
  $ sf org delete shape --target-org SourceOrg --no-prompt
220
220
  ```
221
221
 
222
- _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.27/src/commands/org/delete/shape.ts)_
222
+ _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.28/src/commands/org/delete/shape.ts)_
223
223
 
224
224
  ## `sf org delete snapshot`
225
225
 
@@ -264,7 +264,7 @@ FLAG DESCRIPTIONS
264
264
  The IDs of scratch org snapshots start with 0Oo.
265
265
  ```
266
266
 
267
- _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.27/src/commands/org/delete/snapshot.ts)_
267
+ _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.28/src/commands/org/delete/snapshot.ts)_
268
268
 
269
269
  ## `sf org get snapshot`
270
270
 
@@ -311,7 +311,7 @@ FLAG DESCRIPTIONS
311
311
  The IDs of scratch org snapshots start with 0Oo.
312
312
  ```
313
313
 
314
- _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.27/src/commands/org/get/snapshot.ts)_
314
+ _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.28/src/commands/org/get/snapshot.ts)_
315
315
 
316
316
  ## `sf org list shape`
317
317
 
@@ -344,7 +344,7 @@ EXAMPLES
344
344
  $ sf org list shape --json > tmp/MyOrgShapeList.json
345
345
  ```
346
346
 
347
- _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.27/src/commands/org/list/shape.ts)_
347
+ _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.28/src/commands/org/list/shape.ts)_
348
348
 
349
349
  ## `sf org list snapshot`
350
350
 
@@ -386,6 +386,6 @@ EXAMPLES
386
386
  $ sf org list snapshot --target-dev-hub SnapshotDevHub
387
387
  ```
388
388
 
389
- _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.27/src/commands/org/list/snapshot.ts)_
389
+ _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.28/src/commands/org/list/snapshot.ts)_
390
390
 
391
391
  <!-- commandsstop -->
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
- "version": "2.6.27",
3
+ "version": "2.6.28",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-signups",
9
- "version": "2.6.27",
9
+ "version": "2.6.28",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^4",
13
13
  "@salesforce/core": "^8.11.0",
14
14
  "@salesforce/kit": "^3.2.3",
15
- "@salesforce/sf-plugins-core": "^12.2.1",
15
+ "@salesforce/sf-plugins-core": "^12.2.2",
16
16
  "change-case": "^5.4.4"
17
17
  },
18
18
  "devDependencies": {
@@ -25,7 +25,7 @@
25
25
  "@types/chai-string": "^1.4.5",
26
26
  "chai-as-promised": "7.1.2",
27
27
  "chai-string": "^1.6.0",
28
- "eslint-plugin-sf-plugin": "^1.20.22",
28
+ "eslint-plugin-sf-plugin": "^1.20.23",
29
29
  "jsforce": "^2.0.0-beta.28",
30
30
  "oclif": "^4.17.46",
31
31
  "ts-node": "^10.9.2",
@@ -4510,16 +4510,16 @@
4510
4510
  "license": "ISC"
4511
4511
  },
4512
4512
  "node_modules/@salesforce/sf-plugins-core": {
4513
- "version": "12.2.1",
4514
- "resolved": "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-12.2.1.tgz",
4515
- "integrity": "sha512-b3eRSzGO0weBLL1clHaJNgNP1aKkD1Qy2DQEc0ieteEm+fh1FfPA0QpJ9rh/hdmkJRip2x2R2zz9tflJ0wflbg==",
4513
+ "version": "12.2.2",
4514
+ "resolved": "https://registry.npmjs.org/@salesforce/sf-plugins-core/-/sf-plugins-core-12.2.2.tgz",
4515
+ "integrity": "sha512-LuNT1kzi0N185xhCBCOU9P650CwoehiICB2lCP1RsO98NqfHTRpD6Rq1TDQtLTudOh3pDUFZTgo8kt4qwz20yw==",
4516
4516
  "license": "BSD-3-Clause",
4517
4517
  "dependencies": {
4518
4518
  "@inquirer/confirm": "^3.1.22",
4519
4519
  "@inquirer/password": "^2.2.0",
4520
- "@oclif/core": "^4.2.10",
4520
+ "@oclif/core": "^4.3.0",
4521
4521
  "@oclif/table": "^0.4.6",
4522
- "@salesforce/core": "^8.8.5",
4522
+ "@salesforce/core": "^8.10.0",
4523
4523
  "@salesforce/kit": "^3.2.3",
4524
4524
  "@salesforce/ts-types": "^2.0.12",
4525
4525
  "ansis": "^3.3.2",
@@ -8053,13 +8053,13 @@
8053
8053
  }
8054
8054
  },
8055
8055
  "node_modules/eslint-plugin-sf-plugin": {
8056
- "version": "1.20.22",
8057
- "resolved": "https://registry.npmjs.org/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.22.tgz",
8058
- "integrity": "sha512-WSFeAT31guYZiu4UhxM/ye7lgfp+lEawE9AgFb85vkjqO6ma8x0yQLKx2CQtgsIM1t1RQrFUg11ODVLL1gh2eA==",
8056
+ "version": "1.20.23",
8057
+ "resolved": "https://registry.npmjs.org/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.23.tgz",
8058
+ "integrity": "sha512-zlvxTJW4nMugGqgedymkEEeP/uiW/hgVGaaKZXEnCU+FMU7aW4kgTtLn+1JWk08mLwRlv/5NynGcABnsON21PA==",
8059
8059
  "dev": true,
8060
8060
  "license": "BSD-3-Clause",
8061
8061
  "dependencies": {
8062
- "@salesforce/core": "^8.10.1",
8062
+ "@salesforce/core": "^8.10.3",
8063
8063
  "@typescript-eslint/utils": "^7.18.0"
8064
8064
  },
8065
8065
  "engines": {
package/oclif.lock CHANGED
@@ -1568,7 +1568,7 @@
1568
1568
  "@nodelib/fs.scandir" "2.1.5"
1569
1569
  fastq "^1.6.0"
1570
1570
 
1571
- "@oclif/core@^4", "@oclif/core@^4.0.27", "@oclif/core@^4.2.10":
1571
+ "@oclif/core@^4", "@oclif/core@^4.0.27", "@oclif/core@^4.2.10", "@oclif/core@^4.3.0":
1572
1572
  version "4.3.0"
1573
1573
  resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.3.0.tgz#9a2951f05f81a4c7ae5ffcc00b2d720cca0898e6"
1574
1574
  integrity sha512-lIzHY+JMP6evrS5E/sGijNnwrCoNtGy8703jWXcMuPOYKiFhWoAqnIm1BGgoRgmxczkbSfRsHUL/lwsSgh74Lw==
@@ -1693,7 +1693,7 @@
1693
1693
  strip-ansi "6.0.1"
1694
1694
  ts-retry-promise "^0.8.1"
1695
1695
 
1696
- "@salesforce/core@^8.10.1", "@salesforce/core@^8.11.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.5":
1696
+ "@salesforce/core@^8.10.0", "@salesforce/core@^8.10.1", "@salesforce/core@^8.10.3", "@salesforce/core@^8.11.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0":
1697
1697
  version "8.11.0"
1698
1698
  resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.11.0.tgz#23d5ddcc318008230258ab449e70a26f671123c2"
1699
1699
  integrity sha512-S4UgHKUy1hykRQVaoYm+LSktQgRhI3ltAUoLGI25/Q8gYokERTa2E7MpPMb+X/kTpjJJvDlnQqelB/sQJs/AKA==
@@ -1803,16 +1803,16 @@
1803
1803
  string-width "^7.2.0"
1804
1804
  terminal-link "^3.0.0"
1805
1805
 
1806
- "@salesforce/sf-plugins-core@^12.2.1":
1807
- version "12.2.1"
1808
- resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.2.1.tgz#1048a5d1245f07f0e864f0f76e8818fd21a84fe6"
1809
- integrity sha512-b3eRSzGO0weBLL1clHaJNgNP1aKkD1Qy2DQEc0ieteEm+fh1FfPA0QpJ9rh/hdmkJRip2x2R2zz9tflJ0wflbg==
1806
+ "@salesforce/sf-plugins-core@^12.2.2":
1807
+ version "12.2.2"
1808
+ resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-12.2.2.tgz#41e704e47ba997dcb6922ab9563aa19407079c85"
1809
+ integrity sha512-LuNT1kzi0N185xhCBCOU9P650CwoehiICB2lCP1RsO98NqfHTRpD6Rq1TDQtLTudOh3pDUFZTgo8kt4qwz20yw==
1810
1810
  dependencies:
1811
1811
  "@inquirer/confirm" "^3.1.22"
1812
1812
  "@inquirer/password" "^2.2.0"
1813
- "@oclif/core" "^4.2.10"
1813
+ "@oclif/core" "^4.3.0"
1814
1814
  "@oclif/table" "^0.4.6"
1815
- "@salesforce/core" "^8.8.5"
1815
+ "@salesforce/core" "^8.10.0"
1816
1816
  "@salesforce/kit" "^3.2.3"
1817
1817
  "@salesforce/ts-types" "^2.0.12"
1818
1818
  ansis "^3.3.2"
@@ -4042,12 +4042,12 @@ eslint-plugin-jsdoc@^46.10.1:
4042
4042
  semver "^7.5.4"
4043
4043
  spdx-expression-parse "^4.0.0"
4044
4044
 
4045
- eslint-plugin-sf-plugin@^1.20.22:
4046
- version "1.20.22"
4047
- resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.22.tgz#d6454d3f6496163b7ca4756fed045edee6666ce1"
4048
- integrity sha512-WSFeAT31guYZiu4UhxM/ye7lgfp+lEawE9AgFb85vkjqO6ma8x0yQLKx2CQtgsIM1t1RQrFUg11ODVLL1gh2eA==
4045
+ eslint-plugin-sf-plugin@^1.20.23:
4046
+ version "1.20.23"
4047
+ resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.23.tgz#213c514a67b734c989eac1ebbc23ff506f9ddc85"
4048
+ integrity sha512-zlvxTJW4nMugGqgedymkEEeP/uiW/hgVGaaKZXEnCU+FMU7aW4kgTtLn+1JWk08mLwRlv/5NynGcABnsON21PA==
4049
4049
  dependencies:
4050
- "@salesforce/core" "^8.10.1"
4050
+ "@salesforce/core" "^8.10.3"
4051
4051
  "@typescript-eslint/utils" "^7.18.0"
4052
4052
 
4053
4053
  eslint-plugin-unicorn@^50.0.1:
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "commands": {
3
- "org:create:shape": {
3
+ "org:delete:shape": {
4
4
  "aliases": [
5
- "force:org:shape:create"
5
+ "force:org:shape:delete"
6
6
  ],
7
7
  "args": {},
8
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 %> org create scratch\" command.",
9
+ "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.",
10
10
  "examples": [
11
- "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
11
+ "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
12
+ "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
12
13
  ],
13
14
  "flags": {
14
15
  "json": {
@@ -61,70 +62,81 @@
61
62
  "hasDynamicHelp": false,
62
63
  "multiple": false,
63
64
  "type": "option"
65
+ },
66
+ "no-prompt": {
67
+ "aliases": [
68
+ "noprompt"
69
+ ],
70
+ "char": "p",
71
+ "deprecateAliases": true,
72
+ "name": "no-prompt",
73
+ "summary": "Don't prompt for confirmation.",
74
+ "allowNo": false,
75
+ "type": "boolean"
64
76
  }
65
77
  },
66
78
  "hasDynamicHelp": true,
67
79
  "hiddenAliases": [],
68
- "id": "org:create:shape",
80
+ "id": "org:delete:shape",
69
81
  "pluginAlias": "@salesforce/plugin-signups",
70
82
  "pluginName": "@salesforce/plugin-signups",
71
83
  "pluginType": "core",
72
84
  "strict": true,
73
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
85
+ "summary": "Delete all org shapes for a target org.",
74
86
  "enableJsonFlag": true,
75
87
  "isESM": true,
76
88
  "relativePath": [
77
89
  "lib",
78
90
  "commands",
79
91
  "org",
80
- "create",
92
+ "delete",
81
93
  "shape.js"
82
94
  ],
83
95
  "aliasPermutations": [
84
- "force:org:shape:create",
85
- "org:force:shape:create",
86
- "org:shape:force:create",
87
- "org:shape:create:force",
88
- "force:shape:org:create",
89
- "shape:force:org:create",
90
- "shape:org:force:create",
91
- "shape:org:create:force",
92
- "force:shape:create:org",
93
- "shape:force:create:org",
94
- "shape:create:force:org",
95
- "shape:create:org:force",
96
- "force:org:create:shape",
97
- "org:force:create:shape",
98
- "org:create:force:shape",
99
- "org:create:shape:force",
100
- "force:create:org:shape",
101
- "create:force:org:shape",
102
- "create:org:force:shape",
103
- "create:org:shape:force",
104
- "force:create:shape:org",
105
- "create:force:shape:org",
106
- "create:shape:force:org",
107
- "create:shape:org:force"
96
+ "force:org:shape:delete",
97
+ "org:force:shape:delete",
98
+ "org:shape:force:delete",
99
+ "org:shape:delete:force",
100
+ "force:shape:org:delete",
101
+ "shape:force:org:delete",
102
+ "shape:org:force:delete",
103
+ "shape:org:delete:force",
104
+ "force:shape:delete:org",
105
+ "shape:force:delete:org",
106
+ "shape:delete:force:org",
107
+ "shape:delete:org:force",
108
+ "force:org:delete:shape",
109
+ "org:force:delete:shape",
110
+ "org:delete:force:shape",
111
+ "org:delete:shape:force",
112
+ "force:delete:org:shape",
113
+ "delete:force:org:shape",
114
+ "delete:org:force:shape",
115
+ "delete:org:shape:force",
116
+ "force:delete:shape:org",
117
+ "delete:force:shape:org",
118
+ "delete:shape:force:org",
119
+ "delete:shape:org:force"
108
120
  ],
109
121
  "permutations": [
110
- "org:create:shape",
111
- "create:org:shape",
112
- "create:shape:org",
113
- "org:shape:create",
114
- "shape:org:create",
115
- "shape:create:org"
122
+ "org:delete:shape",
123
+ "delete:org:shape",
124
+ "delete:shape:org",
125
+ "org:shape:delete",
126
+ "shape:org:delete",
127
+ "shape:delete:org"
116
128
  ]
117
129
  },
118
- "org:create:snapshot": {
130
+ "org:delete:snapshot": {
119
131
  "aliases": [
120
- "force:org:snapshot:create"
132
+ "force:org:snapshot:delete"
121
133
  ],
122
134
  "args": {},
123
135
  "deprecateAliases": true,
124
- "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 %> org create scratch\" to create the scratch org.",
136
+ "description": "Dev Hub admins can delete any snapshot. Users can delete only their own snapshots, unless a Dev Hub admin gives the user Modify All permission, which works only with the Salesforce license.",
125
137
  "examples": [
126
- "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'",
127
- "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"
138
+ "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
139
+ "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
128
140
  ],
129
141
  "flags": {
130
142
  "json": {
@@ -177,104 +189,86 @@
177
189
  "multiple": false,
178
190
  "type": "option"
179
191
  },
180
- "source-org": {
181
- "aliases": [
182
- "sourceorg"
183
- ],
184
- "char": "o",
185
- "deprecateAliases": true,
186
- "name": "source-org",
187
- "required": true,
188
- "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
189
- "hasDynamicHelp": false,
190
- "multiple": false,
191
- "type": "option"
192
- },
193
- "name": {
194
- "aliases": [
195
- "snapshotname"
196
- ],
197
- "char": "n",
198
- "deprecateAliases": true,
199
- "name": "name",
192
+ "snapshot": {
193
+ "char": "s",
194
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
195
+ "name": "snapshot",
200
196
  "required": true,
201
- "summary": "Unique name of snapshot.",
197
+ "summary": "Name or ID of snapshot to delete.",
202
198
  "hasDynamicHelp": false,
203
199
  "multiple": false,
204
200
  "type": "option"
205
201
  },
206
- "description": {
207
- "char": "d",
208
- "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.",
209
- "name": "description",
210
- "summary": "Description of snapshot.",
211
- "hasDynamicHelp": false,
212
- "multiple": false,
213
- "type": "option"
202
+ "no-prompt": {
203
+ "char": "p",
204
+ "name": "no-prompt",
205
+ "summary": "Don't prompt the user to confirm the deletion.",
206
+ "allowNo": false,
207
+ "type": "boolean"
214
208
  }
215
209
  },
216
210
  "hasDynamicHelp": true,
217
211
  "hiddenAliases": [],
218
- "id": "org:create:snapshot",
212
+ "id": "org:delete:snapshot",
219
213
  "pluginAlias": "@salesforce/plugin-signups",
220
214
  "pluginName": "@salesforce/plugin-signups",
221
215
  "pluginType": "core",
222
216
  "strict": true,
223
- "summary": "Create a snapshot of a scratch org.",
217
+ "summary": "Delete a scratch org snapshot.",
224
218
  "enableJsonFlag": true,
225
219
  "isESM": true,
226
220
  "relativePath": [
227
221
  "lib",
228
222
  "commands",
229
223
  "org",
230
- "create",
224
+ "delete",
231
225
  "snapshot.js"
232
226
  ],
233
227
  "aliasPermutations": [
234
- "force:org:snapshot:create",
235
- "org:force:snapshot:create",
236
- "org:snapshot:force:create",
237
- "org:snapshot:create:force",
238
- "force:snapshot:org:create",
239
- "snapshot:force:org:create",
240
- "snapshot:org:force:create",
241
- "snapshot:org:create:force",
242
- "force:snapshot:create:org",
243
- "snapshot:force:create:org",
244
- "snapshot:create:force:org",
245
- "snapshot:create:org:force",
246
- "force:org:create:snapshot",
247
- "org:force:create:snapshot",
248
- "org:create:force:snapshot",
249
- "org:create:snapshot:force",
250
- "force:create:org:snapshot",
251
- "create:force:org:snapshot",
252
- "create:org:force:snapshot",
253
- "create:org:snapshot:force",
254
- "force:create:snapshot:org",
255
- "create:force:snapshot:org",
256
- "create:snapshot:force:org",
257
- "create:snapshot:org:force"
228
+ "force:org:snapshot:delete",
229
+ "org:force:snapshot:delete",
230
+ "org:snapshot:force:delete",
231
+ "org:snapshot:delete:force",
232
+ "force:snapshot:org:delete",
233
+ "snapshot:force:org:delete",
234
+ "snapshot:org:force:delete",
235
+ "snapshot:org:delete:force",
236
+ "force:snapshot:delete:org",
237
+ "snapshot:force:delete:org",
238
+ "snapshot:delete:force:org",
239
+ "snapshot:delete:org:force",
240
+ "force:org:delete:snapshot",
241
+ "org:force:delete:snapshot",
242
+ "org:delete:force:snapshot",
243
+ "org:delete:snapshot:force",
244
+ "force:delete:org:snapshot",
245
+ "delete:force:org:snapshot",
246
+ "delete:org:force:snapshot",
247
+ "delete:org:snapshot:force",
248
+ "force:delete:snapshot:org",
249
+ "delete:force:snapshot:org",
250
+ "delete:snapshot:force:org",
251
+ "delete:snapshot:org:force"
258
252
  ],
259
253
  "permutations": [
260
- "org:create:snapshot",
261
- "create:org:snapshot",
262
- "create:snapshot:org",
263
- "org:snapshot:create",
264
- "snapshot:org:create",
265
- "snapshot:create:org"
254
+ "org:delete:snapshot",
255
+ "delete:org:snapshot",
256
+ "delete:snapshot:org",
257
+ "org:snapshot:delete",
258
+ "snapshot:org:delete",
259
+ "snapshot:delete:org"
266
260
  ]
267
261
  },
268
- "org:delete:shape": {
262
+ "org:list:shape": {
269
263
  "aliases": [
270
- "force:org:shape:delete"
264
+ "force:org:shape:list"
271
265
  ],
272
266
  "args": {},
273
267
  "deprecateAliases": true,
274
- "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.",
268
+ "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.",
275
269
  "examples": [
276
- "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
277
- "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
270
+ "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
271
+ "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
278
272
  ],
279
273
  "flags": {
280
274
  "json": {
@@ -292,31 +286,12 @@
292
286
  "multiple": false,
293
287
  "type": "option"
294
288
  },
295
- "target-org": {
296
- "aliases": [
297
- "targetusername",
298
- "u"
299
- ],
300
- "char": "o",
301
- "deprecateAliases": true,
302
- "name": "target-org",
303
- "noCacheDefault": true,
304
- "required": true,
305
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
306
- "hasDynamicHelp": true,
307
- "multiple": false,
308
- "type": "option"
309
- },
310
- "api-version": {
311
- "aliases": [
312
- "apiversion"
313
- ],
314
- "deprecateAliases": true,
315
- "description": "Override the api version used for api requests made by this command",
316
- "name": "api-version",
317
- "hasDynamicHelp": false,
318
- "multiple": false,
319
- "type": "option"
289
+ "verbose": {
290
+ "hidden": true,
291
+ "name": "verbose",
292
+ "summary": "List more information about each org shape.",
293
+ "allowNo": false,
294
+ "type": "boolean"
320
295
  },
321
296
  "loglevel": {
322
297
  "deprecated": {
@@ -327,81 +302,70 @@
327
302
  "hasDynamicHelp": false,
328
303
  "multiple": false,
329
304
  "type": "option"
330
- },
331
- "no-prompt": {
332
- "aliases": [
333
- "noprompt"
334
- ],
335
- "char": "p",
336
- "deprecateAliases": true,
337
- "name": "no-prompt",
338
- "summary": "Don't prompt for confirmation.",
339
- "allowNo": false,
340
- "type": "boolean"
341
305
  }
342
306
  },
343
- "hasDynamicHelp": true,
307
+ "hasDynamicHelp": false,
344
308
  "hiddenAliases": [],
345
- "id": "org:delete:shape",
309
+ "id": "org:list:shape",
346
310
  "pluginAlias": "@salesforce/plugin-signups",
347
311
  "pluginName": "@salesforce/plugin-signups",
348
312
  "pluginType": "core",
349
313
  "strict": true,
350
- "summary": "Delete all org shapes for a target org.",
314
+ "summary": "List all org shapes you’ve created.",
351
315
  "enableJsonFlag": true,
352
316
  "isESM": true,
353
317
  "relativePath": [
354
318
  "lib",
355
319
  "commands",
356
320
  "org",
357
- "delete",
321
+ "list",
358
322
  "shape.js"
359
323
  ],
360
324
  "aliasPermutations": [
361
- "force:org:shape:delete",
362
- "org:force:shape:delete",
363
- "org:shape:force:delete",
364
- "org:shape:delete:force",
365
- "force:shape:org:delete",
366
- "shape:force:org:delete",
367
- "shape:org:force:delete",
368
- "shape:org:delete:force",
369
- "force:shape:delete:org",
370
- "shape:force:delete:org",
371
- "shape:delete:force:org",
372
- "shape:delete:org:force",
373
- "force:org:delete:shape",
374
- "org:force:delete:shape",
375
- "org:delete:force:shape",
376
- "org:delete:shape:force",
377
- "force:delete:org:shape",
378
- "delete:force:org:shape",
379
- "delete:org:force:shape",
380
- "delete:org:shape:force",
381
- "force:delete:shape:org",
382
- "delete:force:shape:org",
383
- "delete:shape:force:org",
384
- "delete:shape:org:force"
325
+ "force:org:shape:list",
326
+ "org:force:shape:list",
327
+ "org:shape:force:list",
328
+ "org:shape:list:force",
329
+ "force:shape:org:list",
330
+ "shape:force:org:list",
331
+ "shape:org:force:list",
332
+ "shape:org:list:force",
333
+ "force:shape:list:org",
334
+ "shape:force:list:org",
335
+ "shape:list:force:org",
336
+ "shape:list:org:force",
337
+ "force:org:list:shape",
338
+ "org:force:list:shape",
339
+ "org:list:force:shape",
340
+ "org:list:shape:force",
341
+ "force:list:org:shape",
342
+ "list:force:org:shape",
343
+ "list:org:force:shape",
344
+ "list:org:shape:force",
345
+ "force:list:shape:org",
346
+ "list:force:shape:org",
347
+ "list:shape:force:org",
348
+ "list:shape:org:force"
385
349
  ],
386
350
  "permutations": [
387
- "org:delete:shape",
388
- "delete:org:shape",
389
- "delete:shape:org",
390
- "org:shape:delete",
391
- "shape:org:delete",
392
- "shape:delete:org"
351
+ "org:list:shape",
352
+ "list:org:shape",
353
+ "list:shape:org",
354
+ "org:shape:list",
355
+ "shape:org:list",
356
+ "shape:list:org"
393
357
  ]
394
358
  },
395
- "org:delete:snapshot": {
359
+ "org:list:snapshot": {
396
360
  "aliases": [
397
- "force:org:snapshot:delete"
361
+ "force:org:snapshot:list"
398
362
  ],
399
363
  "args": {},
400
364
  "deprecateAliases": true,
401
- "description": "Dev Hub admins can delete any snapshot. Users can delete only their own snapshots, unless a Dev Hub admin gives the user Modify All permission, which works only with the Salesforce license.",
365
+ "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\".",
402
366
  "examples": [
403
- "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
404
- "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
367
+ "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
368
+ "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
405
369
  ],
406
370
  "flags": {
407
371
  "json": {
@@ -453,87 +417,70 @@
453
417
  "hasDynamicHelp": false,
454
418
  "multiple": false,
455
419
  "type": "option"
456
- },
457
- "snapshot": {
458
- "char": "s",
459
- "description": "The IDs of scratch org snapshots start with 0Oo.",
460
- "name": "snapshot",
461
- "required": true,
462
- "summary": "Name or ID of snapshot to delete.",
463
- "hasDynamicHelp": false,
464
- "multiple": false,
465
- "type": "option"
466
- },
467
- "no-prompt": {
468
- "char": "p",
469
- "name": "no-prompt",
470
- "summary": "Don't prompt the user to confirm the deletion.",
471
- "allowNo": false,
472
- "type": "boolean"
473
420
  }
474
421
  },
475
422
  "hasDynamicHelp": true,
476
423
  "hiddenAliases": [],
477
- "id": "org:delete:snapshot",
424
+ "id": "org:list:snapshot",
478
425
  "pluginAlias": "@salesforce/plugin-signups",
479
426
  "pluginName": "@salesforce/plugin-signups",
480
427
  "pluginType": "core",
481
428
  "strict": true,
482
- "summary": "Delete a scratch org snapshot.",
429
+ "summary": "List scratch org snapshots.",
483
430
  "enableJsonFlag": true,
484
431
  "isESM": true,
485
432
  "relativePath": [
486
433
  "lib",
487
434
  "commands",
488
435
  "org",
489
- "delete",
436
+ "list",
490
437
  "snapshot.js"
491
438
  ],
492
439
  "aliasPermutations": [
493
- "force:org:snapshot:delete",
494
- "org:force:snapshot:delete",
495
- "org:snapshot:force:delete",
496
- "org:snapshot:delete:force",
497
- "force:snapshot:org:delete",
498
- "snapshot:force:org:delete",
499
- "snapshot:org:force:delete",
500
- "snapshot:org:delete:force",
501
- "force:snapshot:delete:org",
502
- "snapshot:force:delete:org",
503
- "snapshot:delete:force:org",
504
- "snapshot:delete:org:force",
505
- "force:org:delete:snapshot",
506
- "org:force:delete:snapshot",
507
- "org:delete:force:snapshot",
508
- "org:delete:snapshot:force",
509
- "force:delete:org:snapshot",
510
- "delete:force:org:snapshot",
511
- "delete:org:force:snapshot",
512
- "delete:org:snapshot:force",
513
- "force:delete:snapshot:org",
514
- "delete:force:snapshot:org",
515
- "delete:snapshot:force:org",
516
- "delete:snapshot:org:force"
440
+ "force:org:snapshot:list",
441
+ "org:force:snapshot:list",
442
+ "org:snapshot:force:list",
443
+ "org:snapshot:list:force",
444
+ "force:snapshot:org:list",
445
+ "snapshot:force:org:list",
446
+ "snapshot:org:force:list",
447
+ "snapshot:org:list:force",
448
+ "force:snapshot:list:org",
449
+ "snapshot:force:list:org",
450
+ "snapshot:list:force:org",
451
+ "snapshot:list:org:force",
452
+ "force:org:list:snapshot",
453
+ "org:force:list:snapshot",
454
+ "org:list:force:snapshot",
455
+ "org:list:snapshot:force",
456
+ "force:list:org:snapshot",
457
+ "list:force:org:snapshot",
458
+ "list:org:force:snapshot",
459
+ "list:org:snapshot:force",
460
+ "force:list:snapshot:org",
461
+ "list:force:snapshot:org",
462
+ "list:snapshot:force:org",
463
+ "list:snapshot:org:force"
517
464
  ],
518
465
  "permutations": [
519
- "org:delete:snapshot",
520
- "delete:org:snapshot",
521
- "delete:snapshot:org",
522
- "org:snapshot:delete",
523
- "snapshot:org:delete",
524
- "snapshot:delete:org"
466
+ "org:list:snapshot",
467
+ "list:org:snapshot",
468
+ "list:snapshot:org",
469
+ "org:snapshot:list",
470
+ "snapshot:org:list",
471
+ "snapshot:list:org"
525
472
  ]
526
473
  },
527
- "org:list:shape": {
474
+ "org:get:snapshot": {
528
475
  "aliases": [
529
- "force:org:shape:list"
476
+ "force:org:snapshot:get"
530
477
  ],
531
478
  "args": {},
532
479
  "deprecateAliases": true,
533
- "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.",
480
+ "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\".",
534
481
  "examples": [
535
- "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
536
- "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
482
+ "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
483
+ "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"
537
484
  ],
538
485
  "flags": {
539
486
  "json": {
@@ -551,12 +498,30 @@
551
498
  "multiple": false,
552
499
  "type": "option"
553
500
  },
554
- "verbose": {
555
- "hidden": true,
556
- "name": "verbose",
557
- "summary": "List more information about each org shape.",
558
- "allowNo": false,
559
- "type": "boolean"
501
+ "target-dev-hub": {
502
+ "aliases": [
503
+ "targetdevhubusername"
504
+ ],
505
+ "char": "v",
506
+ "deprecateAliases": true,
507
+ "name": "target-dev-hub",
508
+ "noCacheDefault": true,
509
+ "required": true,
510
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
511
+ "hasDynamicHelp": true,
512
+ "multiple": false,
513
+ "type": "option"
514
+ },
515
+ "api-version": {
516
+ "aliases": [
517
+ "apiversion"
518
+ ],
519
+ "deprecateAliases": true,
520
+ "description": "Override the api version used for api requests made by this command",
521
+ "name": "api-version",
522
+ "hasDynamicHelp": false,
523
+ "multiple": false,
524
+ "type": "option"
560
525
  },
561
526
  "loglevel": {
562
527
  "deprecated": {
@@ -567,70 +532,79 @@
567
532
  "hasDynamicHelp": false,
568
533
  "multiple": false,
569
534
  "type": "option"
535
+ },
536
+ "snapshot": {
537
+ "char": "s",
538
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
539
+ "name": "snapshot",
540
+ "required": true,
541
+ "summary": "Name or ID of snapshot to retrieve.",
542
+ "hasDynamicHelp": false,
543
+ "multiple": false,
544
+ "type": "option"
570
545
  }
571
546
  },
572
- "hasDynamicHelp": false,
547
+ "hasDynamicHelp": true,
573
548
  "hiddenAliases": [],
574
- "id": "org:list:shape",
549
+ "id": "org:get:snapshot",
575
550
  "pluginAlias": "@salesforce/plugin-signups",
576
551
  "pluginName": "@salesforce/plugin-signups",
577
552
  "pluginType": "core",
578
553
  "strict": true,
579
- "summary": "List all org shapes you’ve created.",
554
+ "summary": "Get details about a scratch org snapshot.",
580
555
  "enableJsonFlag": true,
581
556
  "isESM": true,
582
557
  "relativePath": [
583
558
  "lib",
584
559
  "commands",
585
560
  "org",
586
- "list",
587
- "shape.js"
561
+ "get",
562
+ "snapshot.js"
588
563
  ],
589
564
  "aliasPermutations": [
590
- "force:org:shape:list",
591
- "org:force:shape:list",
592
- "org:shape:force:list",
593
- "org:shape:list:force",
594
- "force:shape:org:list",
595
- "shape:force:org:list",
596
- "shape:org:force:list",
597
- "shape:org:list:force",
598
- "force:shape:list:org",
599
- "shape:force:list:org",
600
- "shape:list:force:org",
601
- "shape:list:org:force",
602
- "force:org:list:shape",
603
- "org:force:list:shape",
604
- "org:list:force:shape",
605
- "org:list:shape:force",
606
- "force:list:org:shape",
607
- "list:force:org:shape",
608
- "list:org:force:shape",
609
- "list:org:shape:force",
610
- "force:list:shape:org",
611
- "list:force:shape:org",
612
- "list:shape:force:org",
613
- "list:shape:org:force"
565
+ "force:org:snapshot:get",
566
+ "org:force:snapshot:get",
567
+ "org:snapshot:force:get",
568
+ "org:snapshot:get:force",
569
+ "force:snapshot:org:get",
570
+ "snapshot:force:org:get",
571
+ "snapshot:org:force:get",
572
+ "snapshot:org:get:force",
573
+ "force:snapshot:get:org",
574
+ "snapshot:force:get:org",
575
+ "snapshot:get:force:org",
576
+ "snapshot:get:org:force",
577
+ "force:org:get:snapshot",
578
+ "org:force:get:snapshot",
579
+ "org:get:force:snapshot",
580
+ "org:get:snapshot:force",
581
+ "force:get:org:snapshot",
582
+ "get:force:org:snapshot",
583
+ "get:org:force:snapshot",
584
+ "get:org:snapshot:force",
585
+ "force:get:snapshot:org",
586
+ "get:force:snapshot:org",
587
+ "get:snapshot:force:org",
588
+ "get:snapshot:org:force"
614
589
  ],
615
590
  "permutations": [
616
- "org:list:shape",
617
- "list:org:shape",
618
- "list:shape:org",
619
- "org:shape:list",
620
- "shape:org:list",
621
- "shape:list:org"
591
+ "org:get:snapshot",
592
+ "get:org:snapshot",
593
+ "get:snapshot:org",
594
+ "org:snapshot:get",
595
+ "snapshot:org:get",
596
+ "snapshot:get:org"
622
597
  ]
623
598
  },
624
- "org:list:snapshot": {
599
+ "org:create:shape": {
625
600
  "aliases": [
626
- "force:org:snapshot:list"
601
+ "force:org:shape:create"
627
602
  ],
628
603
  "args": {},
629
604
  "deprecateAliases": true,
630
- "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\".",
605
+ "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 %> org create scratch\" command.",
631
606
  "examples": [
632
- "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
633
- "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
607
+ "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
634
608
  ],
635
609
  "flags": {
636
610
  "json": {
@@ -648,16 +622,17 @@
648
622
  "multiple": false,
649
623
  "type": "option"
650
624
  },
651
- "target-dev-hub": {
625
+ "target-org": {
652
626
  "aliases": [
653
- "targetdevhubusername"
627
+ "targetusername",
628
+ "u"
654
629
  ],
655
- "char": "v",
630
+ "char": "o",
656
631
  "deprecateAliases": true,
657
- "name": "target-dev-hub",
632
+ "name": "target-org",
658
633
  "noCacheDefault": true,
659
634
  "required": true,
660
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
635
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
661
636
  "hasDynamicHelp": true,
662
637
  "multiple": false,
663
638
  "type": "option"
@@ -686,66 +661,66 @@
686
661
  },
687
662
  "hasDynamicHelp": true,
688
663
  "hiddenAliases": [],
689
- "id": "org:list:snapshot",
664
+ "id": "org:create:shape",
690
665
  "pluginAlias": "@salesforce/plugin-signups",
691
666
  "pluginName": "@salesforce/plugin-signups",
692
667
  "pluginType": "core",
693
668
  "strict": true,
694
- "summary": "List scratch org snapshots.",
669
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
695
670
  "enableJsonFlag": true,
696
671
  "isESM": true,
697
672
  "relativePath": [
698
673
  "lib",
699
674
  "commands",
700
675
  "org",
701
- "list",
702
- "snapshot.js"
676
+ "create",
677
+ "shape.js"
703
678
  ],
704
679
  "aliasPermutations": [
705
- "force:org:snapshot:list",
706
- "org:force:snapshot:list",
707
- "org:snapshot:force:list",
708
- "org:snapshot:list:force",
709
- "force:snapshot:org:list",
710
- "snapshot:force:org:list",
711
- "snapshot:org:force:list",
712
- "snapshot:org:list:force",
713
- "force:snapshot:list:org",
714
- "snapshot:force:list:org",
715
- "snapshot:list:force:org",
716
- "snapshot:list:org:force",
717
- "force:org:list:snapshot",
718
- "org:force:list:snapshot",
719
- "org:list:force:snapshot",
720
- "org:list:snapshot:force",
721
- "force:list:org:snapshot",
722
- "list:force:org:snapshot",
723
- "list:org:force:snapshot",
724
- "list:org:snapshot:force",
725
- "force:list:snapshot:org",
726
- "list:force:snapshot:org",
727
- "list:snapshot:force:org",
728
- "list:snapshot:org:force"
680
+ "force:org:shape:create",
681
+ "org:force:shape:create",
682
+ "org:shape:force:create",
683
+ "org:shape:create:force",
684
+ "force:shape:org:create",
685
+ "shape:force:org:create",
686
+ "shape:org:force:create",
687
+ "shape:org:create:force",
688
+ "force:shape:create:org",
689
+ "shape:force:create:org",
690
+ "shape:create:force:org",
691
+ "shape:create:org:force",
692
+ "force:org:create:shape",
693
+ "org:force:create:shape",
694
+ "org:create:force:shape",
695
+ "org:create:shape:force",
696
+ "force:create:org:shape",
697
+ "create:force:org:shape",
698
+ "create:org:force:shape",
699
+ "create:org:shape:force",
700
+ "force:create:shape:org",
701
+ "create:force:shape:org",
702
+ "create:shape:force:org",
703
+ "create:shape:org:force"
729
704
  ],
730
705
  "permutations": [
731
- "org:list:snapshot",
732
- "list:org:snapshot",
733
- "list:snapshot:org",
734
- "org:snapshot:list",
735
- "snapshot:org:list",
736
- "snapshot:list:org"
706
+ "org:create:shape",
707
+ "create:org:shape",
708
+ "create:shape:org",
709
+ "org:shape:create",
710
+ "shape:org:create",
711
+ "shape:create:org"
737
712
  ]
738
713
  },
739
- "org:get:snapshot": {
714
+ "org:create:snapshot": {
740
715
  "aliases": [
741
- "force:org:snapshot:get"
716
+ "force:org:snapshot:create"
742
717
  ],
743
718
  "args": {},
744
719
  "deprecateAliases": true,
745
- "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\".",
720
+ "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 %> org create scratch\" to create the scratch org.",
746
721
  "examples": [
747
- "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
748
- "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"
722
+ "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'",
723
+ "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"
749
724
  ],
750
725
  "flags": {
751
726
  "json": {
@@ -798,12 +773,37 @@
798
773
  "multiple": false,
799
774
  "type": "option"
800
775
  },
801
- "snapshot": {
802
- "char": "s",
803
- "description": "The IDs of scratch org snapshots start with 0Oo.",
804
- "name": "snapshot",
776
+ "source-org": {
777
+ "aliases": [
778
+ "sourceorg"
779
+ ],
780
+ "char": "o",
781
+ "deprecateAliases": true,
782
+ "name": "source-org",
805
783
  "required": true,
806
- "summary": "Name or ID of snapshot to retrieve.",
784
+ "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
785
+ "hasDynamicHelp": false,
786
+ "multiple": false,
787
+ "type": "option"
788
+ },
789
+ "name": {
790
+ "aliases": [
791
+ "snapshotname"
792
+ ],
793
+ "char": "n",
794
+ "deprecateAliases": true,
795
+ "name": "name",
796
+ "required": true,
797
+ "summary": "Unique name of snapshot.",
798
+ "hasDynamicHelp": false,
799
+ "multiple": false,
800
+ "type": "option"
801
+ },
802
+ "description": {
803
+ "char": "d",
804
+ "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.",
805
+ "name": "description",
806
+ "summary": "Description of snapshot.",
807
807
  "hasDynamicHelp": false,
808
808
  "multiple": false,
809
809
  "type": "option"
@@ -811,56 +811,56 @@
811
811
  },
812
812
  "hasDynamicHelp": true,
813
813
  "hiddenAliases": [],
814
- "id": "org:get:snapshot",
814
+ "id": "org:create:snapshot",
815
815
  "pluginAlias": "@salesforce/plugin-signups",
816
816
  "pluginName": "@salesforce/plugin-signups",
817
817
  "pluginType": "core",
818
818
  "strict": true,
819
- "summary": "Get details about a scratch org snapshot.",
819
+ "summary": "Create a snapshot of a scratch org.",
820
820
  "enableJsonFlag": true,
821
821
  "isESM": true,
822
822
  "relativePath": [
823
823
  "lib",
824
824
  "commands",
825
825
  "org",
826
- "get",
826
+ "create",
827
827
  "snapshot.js"
828
828
  ],
829
829
  "aliasPermutations": [
830
- "force:org:snapshot:get",
831
- "org:force:snapshot:get",
832
- "org:snapshot:force:get",
833
- "org:snapshot:get:force",
834
- "force:snapshot:org:get",
835
- "snapshot:force:org:get",
836
- "snapshot:org:force:get",
837
- "snapshot:org:get:force",
838
- "force:snapshot:get:org",
839
- "snapshot:force:get:org",
840
- "snapshot:get:force:org",
841
- "snapshot:get:org:force",
842
- "force:org:get:snapshot",
843
- "org:force:get:snapshot",
844
- "org:get:force:snapshot",
845
- "org:get:snapshot:force",
846
- "force:get:org:snapshot",
847
- "get:force:org:snapshot",
848
- "get:org:force:snapshot",
849
- "get:org:snapshot:force",
850
- "force:get:snapshot:org",
851
- "get:force:snapshot:org",
852
- "get:snapshot:force:org",
853
- "get:snapshot:org:force"
830
+ "force:org:snapshot:create",
831
+ "org:force:snapshot:create",
832
+ "org:snapshot:force:create",
833
+ "org:snapshot:create:force",
834
+ "force:snapshot:org:create",
835
+ "snapshot:force:org:create",
836
+ "snapshot:org:force:create",
837
+ "snapshot:org:create:force",
838
+ "force:snapshot:create:org",
839
+ "snapshot:force:create:org",
840
+ "snapshot:create:force:org",
841
+ "snapshot:create:org:force",
842
+ "force:org:create:snapshot",
843
+ "org:force:create:snapshot",
844
+ "org:create:force:snapshot",
845
+ "org:create:snapshot:force",
846
+ "force:create:org:snapshot",
847
+ "create:force:org:snapshot",
848
+ "create:org:force:snapshot",
849
+ "create:org:snapshot:force",
850
+ "force:create:snapshot:org",
851
+ "create:force:snapshot:org",
852
+ "create:snapshot:force:org",
853
+ "create:snapshot:org:force"
854
854
  ],
855
855
  "permutations": [
856
- "org:get:snapshot",
857
- "get:org:snapshot",
858
- "get:snapshot:org",
859
- "org:snapshot:get",
860
- "snapshot:org:get",
861
- "snapshot:get:org"
856
+ "org:create:snapshot",
857
+ "create:org:snapshot",
858
+ "create:snapshot:org",
859
+ "org:snapshot:create",
860
+ "snapshot:org:create",
861
+ "snapshot:create:org"
862
862
  ]
863
863
  }
864
864
  },
865
- "version": "2.6.27"
865
+ "version": "2.6.28"
866
866
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
3
  "description": "Commands to interact with org shapes",
4
- "version": "2.6.27",
4
+ "version": "2.6.28",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^4",
9
9
  "@salesforce/core": "^8.11.0",
10
10
  "@salesforce/kit": "^3.2.3",
11
- "@salesforce/sf-plugins-core": "^12.2.1",
11
+ "@salesforce/sf-plugins-core": "^12.2.2",
12
12
  "change-case": "^5.4.4"
13
13
  },
14
14
  "devDependencies": {
@@ -21,7 +21,7 @@
21
21
  "@types/chai-string": "^1.4.5",
22
22
  "chai-as-promised": "7.1.2",
23
23
  "chai-string": "^1.6.0",
24
- "eslint-plugin-sf-plugin": "^1.20.22",
24
+ "eslint-plugin-sf-plugin": "^1.20.23",
25
25
  "jsforce": "^2.0.0-beta.28",
26
26
  "oclif": "^4.17.46",
27
27
  "ts-node": "^10.9.2",
@@ -220,7 +220,7 @@
220
220
  "exports": "./lib/index.js",
221
221
  "type": "module",
222
222
  "sfdx": {
223
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.27.crt",
224
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.27.sig"
223
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.28.crt",
224
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.28.sig"
225
225
  }
226
226
  }