@salesforce/plugin-signups 2.6.23 → 2.6.25

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.23/src/commands/org/create/shape.ts)_
126
+ _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.25/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.23/src/commands/org/create/snapshot.ts)_
182
+ _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.25/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.23/src/commands/org/delete/shape.ts)_
222
+ _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.25/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.23/src/commands/org/delete/snapshot.ts)_
267
+ _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.25/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.23/src/commands/org/get/snapshot.ts)_
314
+ _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.25/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.23/src/commands/org/list/shape.ts)_
347
+ _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.25/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.23/src/commands/org/list/snapshot.ts)_
389
+ _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.6.25/src/commands/org/list/snapshot.ts)_
390
390
 
391
391
  <!-- commandsstop -->
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
- "version": "2.6.23",
3
+ "version": "2.6.25",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-signups",
9
- "version": "2.6.23",
9
+ "version": "2.6.25",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^4",
13
- "@salesforce/core": "^8.10.0",
13
+ "@salesforce/core": "^8.10.1",
14
14
  "@salesforce/kit": "^3.2.3",
15
15
  "@salesforce/sf-plugins-core": "^12.2.1",
16
16
  "change-case": "^5.4.4"
@@ -19,13 +19,13 @@
19
19
  "@oclif/plugin-command-snapshot": "^5.2.38",
20
20
  "@salesforce/cli-plugins-testkit": "^5.3.39",
21
21
  "@salesforce/dev-scripts": "^11.0.2",
22
- "@salesforce/plugin-command-reference": "^3.1.49",
22
+ "@salesforce/plugin-command-reference": "^3.1.50",
23
23
  "@salesforce/ts-types": "^2.0.11",
24
24
  "@types/chai-as-promised": "^7.1.8",
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.20",
28
+ "eslint-plugin-sf-plugin": "^1.20.21",
29
29
  "jsforce": "^2.0.0-beta.28",
30
30
  "oclif": "^4.17.46",
31
31
  "ts-node": "^10.9.2",
@@ -3771,9 +3771,9 @@
3771
3771
  }
3772
3772
  },
3773
3773
  "node_modules/@oclif/core": {
3774
- "version": "4.2.10",
3775
- "resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.2.10.tgz",
3776
- "integrity": "sha512-fAqcXgqkUm4v5FYy7qWP4w1HaOlVSVJveah+yVTo5Nm5kTiXhmD5mQQ7+knGeBaStyrtQy6WardoC2xSic9rlQ==",
3774
+ "version": "4.3.0",
3775
+ "resolved": "https://registry.npmjs.org/@oclif/core/-/core-4.3.0.tgz",
3776
+ "integrity": "sha512-lIzHY+JMP6evrS5E/sGijNnwrCoNtGy8703jWXcMuPOYKiFhWoAqnIm1BGgoRgmxczkbSfRsHUL/lwsSgh74Lw==",
3777
3777
  "license": "MIT",
3778
3778
  "dependencies": {
3779
3779
  "ansi-escapes": "^4.3.2",
@@ -4241,9 +4241,9 @@
4241
4241
  }
4242
4242
  },
4243
4243
  "node_modules/@salesforce/core": {
4244
- "version": "8.10.0",
4245
- "resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.10.0.tgz",
4246
- "integrity": "sha512-gStIzB8wPjjwyKZCK8eSfwkLiv9h9qzP64b51U5THBskEjm6Sw6ZyWqZmCzA85FEZ/IM/n1nh4e3R9JoG6Z6mA==",
4244
+ "version": "8.10.1",
4245
+ "resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.10.1.tgz",
4246
+ "integrity": "sha512-2Pk8MUlO9HTUo6K9bpFxLyc7KUxuIIgmGrFliCQJiUW2N85uvMdB8F+WJD2b8ZOH+6bQ575qynmJlbKmfcLAtQ==",
4247
4247
  "license": "BSD-3-Clause",
4248
4248
  "dependencies": {
4249
4249
  "@jsforce/jsforce-node": "^3.7.0",
@@ -4386,14 +4386,14 @@
4386
4386
  }
4387
4387
  },
4388
4388
  "node_modules/@salesforce/plugin-command-reference": {
4389
- "version": "3.1.49",
4390
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-command-reference/-/plugin-command-reference-3.1.49.tgz",
4391
- "integrity": "sha512-yeKPVRRRV/dp+jDELILvacojhY2kuQsTlIGQ4ahey/ofnc61sVb2YQ3wlR/Xpsmk1dLgCF5qX6WMhbXusVU2uQ==",
4389
+ "version": "3.1.50",
4390
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-command-reference/-/plugin-command-reference-3.1.50.tgz",
4391
+ "integrity": "sha512-6VALS/0u4HqM30G9KGKGQSEvXiSc5d5CVEQ/XMlaJ9vPH4EVyjis46tvbB0pFBvjeu9bba5QLTKvXcigtgtPEg==",
4392
4392
  "dev": true,
4393
- "license": "BSD-3-Clause",
4393
+ "license": "Apache-2.0",
4394
4394
  "dependencies": {
4395
4395
  "@oclif/core": "^4",
4396
- "@salesforce/core": "^8.8.6",
4396
+ "@salesforce/core": "^8.10.0",
4397
4397
  "@salesforce/kit": "^3.2.3",
4398
4398
  "@salesforce/sf-plugins-core": "^11.3.12",
4399
4399
  "@salesforce/ts-types": "^2.0.11",
@@ -8053,13 +8053,13 @@
8053
8053
  }
8054
8054
  },
8055
8055
  "node_modules/eslint-plugin-sf-plugin": {
8056
- "version": "1.20.20",
8057
- "resolved": "https://registry.npmjs.org/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.20.tgz",
8058
- "integrity": "sha512-JoYnjalq/SuFP3v+hOMpXGZAAfCW64cuCZRXrcy6PZZRn4nxCXZQKfPM/RQ+nI2Viie8WUL9uKq6xI4tFCVMSw==",
8056
+ "version": "1.20.21",
8057
+ "resolved": "https://registry.npmjs.org/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.21.tgz",
8058
+ "integrity": "sha512-jHfKga2kLLA3XjCxO8dc27yGbhFiR5gfsnESmSuBSKZGTMpbrWUNZutRdIn0nNL2ZXlLV0TRQaaiz7nEEw43tg==",
8059
8059
  "dev": true,
8060
8060
  "license": "BSD-3-Clause",
8061
8061
  "dependencies": {
8062
- "@salesforce/core": "^8.9.1",
8062
+ "@salesforce/core": "^8.10.0",
8063
8063
  "@typescript-eslint/utils": "^7.18.0"
8064
8064
  },
8065
8065
  "engines": {
package/oclif.lock CHANGED
@@ -1569,9 +1569,9 @@
1569
1569
  fastq "^1.6.0"
1570
1570
 
1571
1571
  "@oclif/core@^4", "@oclif/core@^4.0.27", "@oclif/core@^4.2.10":
1572
- version "4.2.10"
1573
- resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.2.10.tgz#31dfb7481c79887c3e672e10c981fcc01fcbaeb3"
1574
- integrity sha512-fAqcXgqkUm4v5FYy7qWP4w1HaOlVSVJveah+yVTo5Nm5kTiXhmD5mQQ7+knGeBaStyrtQy6WardoC2xSic9rlQ==
1572
+ version "4.3.0"
1573
+ resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.3.0.tgz#9a2951f05f81a4c7ae5ffcc00b2d720cca0898e6"
1574
+ integrity sha512-lIzHY+JMP6evrS5E/sGijNnwrCoNtGy8703jWXcMuPOYKiFhWoAqnIm1BGgoRgmxczkbSfRsHUL/lwsSgh74Lw==
1575
1575
  dependencies:
1576
1576
  ansi-escapes "^4.3.2"
1577
1577
  ansis "^3.17.0"
@@ -1693,10 +1693,10 @@
1693
1693
  strip-ansi "6.0.1"
1694
1694
  ts-retry-promise "^0.8.1"
1695
1695
 
1696
- "@salesforce/core@^8.10.0", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.5", "@salesforce/core@^8.8.6", "@salesforce/core@^8.9.1":
1697
- version "8.10.0"
1698
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.10.0.tgz#017fe618b1dd086298d1133a6ed0f509d56ea495"
1699
- integrity sha512-gStIzB8wPjjwyKZCK8eSfwkLiv9h9qzP64b51U5THBskEjm6Sw6ZyWqZmCzA85FEZ/IM/n1nh4e3R9JoG6Z6mA==
1696
+ "@salesforce/core@^8.10.0", "@salesforce/core@^8.10.1", "@salesforce/core@^8.5.1", "@salesforce/core@^8.8.0", "@salesforce/core@^8.8.5":
1697
+ version "8.10.1"
1698
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-8.10.1.tgz#d80283ac9515a5e38677c1aadd4ab91a00866f0d"
1699
+ integrity sha512-2Pk8MUlO9HTUo6K9bpFxLyc7KUxuIIgmGrFliCQJiUW2N85uvMdB8F+WJD2b8ZOH+6bQ575qynmJlbKmfcLAtQ==
1700
1700
  dependencies:
1701
1701
  "@jsforce/jsforce-node" "^3.7.0"
1702
1702
  "@salesforce/kit" "^3.2.2"
@@ -1761,13 +1761,13 @@
1761
1761
  dependencies:
1762
1762
  "@salesforce/ts-types" "^2.0.12"
1763
1763
 
1764
- "@salesforce/plugin-command-reference@^3.1.49":
1765
- version "3.1.49"
1766
- resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-3.1.49.tgz#0e040ef1c54629a212b980ba0ea9eed8cfa54764"
1767
- integrity sha512-yeKPVRRRV/dp+jDELILvacojhY2kuQsTlIGQ4ahey/ofnc61sVb2YQ3wlR/Xpsmk1dLgCF5qX6WMhbXusVU2uQ==
1764
+ "@salesforce/plugin-command-reference@^3.1.50":
1765
+ version "3.1.50"
1766
+ resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-3.1.50.tgz#f3e306d34a0ea2d0f342cb35e982ae808238d459"
1767
+ integrity sha512-6VALS/0u4HqM30G9KGKGQSEvXiSc5d5CVEQ/XMlaJ9vPH4EVyjis46tvbB0pFBvjeu9bba5QLTKvXcigtgtPEg==
1768
1768
  dependencies:
1769
1769
  "@oclif/core" "^4"
1770
- "@salesforce/core" "^8.8.6"
1770
+ "@salesforce/core" "^8.10.0"
1771
1771
  "@salesforce/kit" "^3.2.3"
1772
1772
  "@salesforce/sf-plugins-core" "^11.3.12"
1773
1773
  "@salesforce/ts-types" "^2.0.11"
@@ -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.20:
4046
- version "1.20.20"
4047
- resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.20.tgz#714a1dd750fa27f72a2708d2fecb0627c9bd38a8"
4048
- integrity sha512-JoYnjalq/SuFP3v+hOMpXGZAAfCW64cuCZRXrcy6PZZRn4nxCXZQKfPM/RQ+nI2Viie8WUL9uKq6xI4tFCVMSw==
4045
+ eslint-plugin-sf-plugin@^1.20.21:
4046
+ version "1.20.21"
4047
+ resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.20.21.tgz#832bad8e7b976fedf49261ad482a2e4ea09cc85e"
4048
+ integrity sha512-jHfKga2kLLA3XjCxO8dc27yGbhFiR5gfsnESmSuBSKZGTMpbrWUNZutRdIn0nNL2ZXlLV0TRQaaiz7nEEw43tg==
4049
4049
  dependencies:
4050
- "@salesforce/core" "^8.9.1"
4050
+ "@salesforce/core" "^8.10.0"
4051
4051
  "@typescript-eslint/utils" "^7.18.0"
4052
4052
 
4053
4053
  eslint-plugin-unicorn@^50.0.1:
@@ -1,15 +1,130 @@
1
1
  {
2
2
  "commands": {
3
- "org:get:snapshot": {
3
+ "org:create:shape": {
4
4
  "aliases": [
5
- "force:org:snapshot:get"
5
+ "force:org:shape:create"
6
6
  ],
7
7
  "args": {},
8
8
  "deprecateAliases": true,
9
- "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\".",
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.",
10
10
  "examples": [
11
- "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
12
- "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"
11
+ "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
12
+ ],
13
+ "flags": {
14
+ "json": {
15
+ "description": "Format output as json.",
16
+ "helpGroup": "GLOBAL",
17
+ "name": "json",
18
+ "allowNo": false,
19
+ "type": "boolean"
20
+ },
21
+ "flags-dir": {
22
+ "helpGroup": "GLOBAL",
23
+ "name": "flags-dir",
24
+ "summary": "Import flag values from a directory.",
25
+ "hasDynamicHelp": false,
26
+ "multiple": false,
27
+ "type": "option"
28
+ },
29
+ "target-org": {
30
+ "aliases": [
31
+ "targetusername",
32
+ "u"
33
+ ],
34
+ "char": "o",
35
+ "deprecateAliases": true,
36
+ "name": "target-org",
37
+ "noCacheDefault": true,
38
+ "required": true,
39
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
40
+ "hasDynamicHelp": true,
41
+ "multiple": false,
42
+ "type": "option"
43
+ },
44
+ "api-version": {
45
+ "aliases": [
46
+ "apiversion"
47
+ ],
48
+ "deprecateAliases": true,
49
+ "description": "Override the api version used for api requests made by this command",
50
+ "name": "api-version",
51
+ "hasDynamicHelp": false,
52
+ "multiple": false,
53
+ "type": "option"
54
+ },
55
+ "loglevel": {
56
+ "deprecated": {
57
+ "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
+ },
59
+ "hidden": true,
60
+ "name": "loglevel",
61
+ "hasDynamicHelp": false,
62
+ "multiple": false,
63
+ "type": "option"
64
+ }
65
+ },
66
+ "hasDynamicHelp": true,
67
+ "hiddenAliases": [],
68
+ "id": "org:create:shape",
69
+ "pluginAlias": "@salesforce/plugin-signups",
70
+ "pluginName": "@salesforce/plugin-signups",
71
+ "pluginType": "core",
72
+ "strict": true,
73
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
74
+ "enableJsonFlag": true,
75
+ "isESM": true,
76
+ "relativePath": [
77
+ "lib",
78
+ "commands",
79
+ "org",
80
+ "create",
81
+ "shape.js"
82
+ ],
83
+ "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"
108
+ ],
109
+ "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"
116
+ ]
117
+ },
118
+ "org:create:snapshot": {
119
+ "aliases": [
120
+ "force:org:snapshot:create"
121
+ ],
122
+ "args": {},
123
+ "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.",
125
+ "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"
13
128
  ],
14
129
  "flags": {
15
130
  "json": {
@@ -62,12 +177,37 @@
62
177
  "multiple": false,
63
178
  "type": "option"
64
179
  },
65
- "snapshot": {
66
- "char": "s",
67
- "description": "The IDs of scratch org snapshots start with 0Oo.",
68
- "name": "snapshot",
180
+ "source-org": {
181
+ "aliases": [
182
+ "sourceorg"
183
+ ],
184
+ "char": "o",
185
+ "deprecateAliases": true,
186
+ "name": "source-org",
69
187
  "required": true,
70
- "summary": "Name or ID of snapshot to retrieve.",
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",
200
+ "required": true,
201
+ "summary": "Unique name of snapshot.",
202
+ "hasDynamicHelp": false,
203
+ "multiple": false,
204
+ "type": "option"
205
+ },
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.",
71
211
  "hasDynamicHelp": false,
72
212
  "multiple": false,
73
213
  "type": "option"
@@ -75,54 +215,54 @@
75
215
  },
76
216
  "hasDynamicHelp": true,
77
217
  "hiddenAliases": [],
78
- "id": "org:get:snapshot",
218
+ "id": "org:create:snapshot",
79
219
  "pluginAlias": "@salesforce/plugin-signups",
80
220
  "pluginName": "@salesforce/plugin-signups",
81
221
  "pluginType": "core",
82
222
  "strict": true,
83
- "summary": "Get details about a scratch org snapshot.",
223
+ "summary": "Create a snapshot of a scratch org.",
84
224
  "enableJsonFlag": true,
85
225
  "isESM": true,
86
226
  "relativePath": [
87
227
  "lib",
88
228
  "commands",
89
229
  "org",
90
- "get",
230
+ "create",
91
231
  "snapshot.js"
92
232
  ],
93
233
  "aliasPermutations": [
94
- "force:org:snapshot:get",
95
- "org:force:snapshot:get",
96
- "org:snapshot:force:get",
97
- "org:snapshot:get:force",
98
- "force:snapshot:org:get",
99
- "snapshot:force:org:get",
100
- "snapshot:org:force:get",
101
- "snapshot:org:get:force",
102
- "force:snapshot:get:org",
103
- "snapshot:force:get:org",
104
- "snapshot:get:force:org",
105
- "snapshot:get:org:force",
106
- "force:org:get:snapshot",
107
- "org:force:get:snapshot",
108
- "org:get:force:snapshot",
109
- "org:get:snapshot:force",
110
- "force:get:org:snapshot",
111
- "get:force:org:snapshot",
112
- "get:org:force:snapshot",
113
- "get:org:snapshot:force",
114
- "force:get:snapshot:org",
115
- "get:force:snapshot:org",
116
- "get:snapshot:force:org",
117
- "get:snapshot:org:force"
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"
118
258
  ],
119
259
  "permutations": [
120
- "org:get:snapshot",
121
- "get:org:snapshot",
122
- "get:snapshot:org",
123
- "org:snapshot:get",
124
- "snapshot:org:get",
125
- "snapshot:get:org"
260
+ "org:create:snapshot",
261
+ "create:org:snapshot",
262
+ "create:snapshot:org",
263
+ "org:snapshot:create",
264
+ "snapshot:org:create",
265
+ "snapshot:create:org"
126
266
  ]
127
267
  },
128
268
  "org:delete:shape": {
@@ -384,131 +524,16 @@
384
524
  "snapshot:delete:org"
385
525
  ]
386
526
  },
387
- "org:create:shape": {
388
- "aliases": [
389
- "force:org:shape:create"
390
- ],
391
- "args": {},
392
- "deprecateAliases": true,
393
- "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.",
394
- "examples": [
395
- "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
396
- ],
397
- "flags": {
398
- "json": {
399
- "description": "Format output as json.",
400
- "helpGroup": "GLOBAL",
401
- "name": "json",
402
- "allowNo": false,
403
- "type": "boolean"
404
- },
405
- "flags-dir": {
406
- "helpGroup": "GLOBAL",
407
- "name": "flags-dir",
408
- "summary": "Import flag values from a directory.",
409
- "hasDynamicHelp": false,
410
- "multiple": false,
411
- "type": "option"
412
- },
413
- "target-org": {
414
- "aliases": [
415
- "targetusername",
416
- "u"
417
- ],
418
- "char": "o",
419
- "deprecateAliases": true,
420
- "name": "target-org",
421
- "noCacheDefault": true,
422
- "required": true,
423
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
424
- "hasDynamicHelp": true,
425
- "multiple": false,
426
- "type": "option"
427
- },
428
- "api-version": {
429
- "aliases": [
430
- "apiversion"
431
- ],
432
- "deprecateAliases": true,
433
- "description": "Override the api version used for api requests made by this command",
434
- "name": "api-version",
435
- "hasDynamicHelp": false,
436
- "multiple": false,
437
- "type": "option"
438
- },
439
- "loglevel": {
440
- "deprecated": {
441
- "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."
442
- },
443
- "hidden": true,
444
- "name": "loglevel",
445
- "hasDynamicHelp": false,
446
- "multiple": false,
447
- "type": "option"
448
- }
449
- },
450
- "hasDynamicHelp": true,
451
- "hiddenAliases": [],
452
- "id": "org:create:shape",
453
- "pluginAlias": "@salesforce/plugin-signups",
454
- "pluginName": "@salesforce/plugin-signups",
455
- "pluginType": "core",
456
- "strict": true,
457
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
458
- "enableJsonFlag": true,
459
- "isESM": true,
460
- "relativePath": [
461
- "lib",
462
- "commands",
463
- "org",
464
- "create",
465
- "shape.js"
466
- ],
467
- "aliasPermutations": [
468
- "force:org:shape:create",
469
- "org:force:shape:create",
470
- "org:shape:force:create",
471
- "org:shape:create:force",
472
- "force:shape:org:create",
473
- "shape:force:org:create",
474
- "shape:org:force:create",
475
- "shape:org:create:force",
476
- "force:shape:create:org",
477
- "shape:force:create:org",
478
- "shape:create:force:org",
479
- "shape:create:org:force",
480
- "force:org:create:shape",
481
- "org:force:create:shape",
482
- "org:create:force:shape",
483
- "org:create:shape:force",
484
- "force:create:org:shape",
485
- "create:force:org:shape",
486
- "create:org:force:shape",
487
- "create:org:shape:force",
488
- "force:create:shape:org",
489
- "create:force:shape:org",
490
- "create:shape:force:org",
491
- "create:shape:org:force"
492
- ],
493
- "permutations": [
494
- "org:create:shape",
495
- "create:org:shape",
496
- "create:shape:org",
497
- "org:shape:create",
498
- "shape:org:create",
499
- "shape:create:org"
500
- ]
501
- },
502
- "org:create:snapshot": {
527
+ "org:get:snapshot": {
503
528
  "aliases": [
504
- "force:org:snapshot:create"
529
+ "force:org:snapshot:get"
505
530
  ],
506
531
  "args": {},
507
532
  "deprecateAliases": true,
508
- "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.",
533
+ "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\".",
509
534
  "examples": [
510
- "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'",
511
- "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"
535
+ "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
536
+ "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"
512
537
  ],
513
538
  "flags": {
514
539
  "json": {
@@ -561,37 +586,12 @@
561
586
  "multiple": false,
562
587
  "type": "option"
563
588
  },
564
- "source-org": {
565
- "aliases": [
566
- "sourceorg"
567
- ],
568
- "char": "o",
569
- "deprecateAliases": true,
570
- "name": "source-org",
571
- "required": true,
572
- "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
573
- "hasDynamicHelp": false,
574
- "multiple": false,
575
- "type": "option"
576
- },
577
- "name": {
578
- "aliases": [
579
- "snapshotname"
580
- ],
581
- "char": "n",
582
- "deprecateAliases": true,
583
- "name": "name",
589
+ "snapshot": {
590
+ "char": "s",
591
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
592
+ "name": "snapshot",
584
593
  "required": true,
585
- "summary": "Unique name of snapshot.",
586
- "hasDynamicHelp": false,
587
- "multiple": false,
588
- "type": "option"
589
- },
590
- "description": {
591
- "char": "d",
592
- "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.",
593
- "name": "description",
594
- "summary": "Description of snapshot.",
594
+ "summary": "Name or ID of snapshot to retrieve.",
595
595
  "hasDynamicHelp": false,
596
596
  "multiple": false,
597
597
  "type": "option"
@@ -599,54 +599,54 @@
599
599
  },
600
600
  "hasDynamicHelp": true,
601
601
  "hiddenAliases": [],
602
- "id": "org:create:snapshot",
602
+ "id": "org:get:snapshot",
603
603
  "pluginAlias": "@salesforce/plugin-signups",
604
604
  "pluginName": "@salesforce/plugin-signups",
605
605
  "pluginType": "core",
606
606
  "strict": true,
607
- "summary": "Create a snapshot of a scratch org.",
607
+ "summary": "Get details about a scratch org snapshot.",
608
608
  "enableJsonFlag": true,
609
609
  "isESM": true,
610
610
  "relativePath": [
611
611
  "lib",
612
612
  "commands",
613
613
  "org",
614
- "create",
614
+ "get",
615
615
  "snapshot.js"
616
616
  ],
617
617
  "aliasPermutations": [
618
- "force:org:snapshot:create",
619
- "org:force:snapshot:create",
620
- "org:snapshot:force:create",
621
- "org:snapshot:create:force",
622
- "force:snapshot:org:create",
623
- "snapshot:force:org:create",
624
- "snapshot:org:force:create",
625
- "snapshot:org:create:force",
626
- "force:snapshot:create:org",
627
- "snapshot:force:create:org",
628
- "snapshot:create:force:org",
629
- "snapshot:create:org:force",
630
- "force:org:create:snapshot",
631
- "org:force:create:snapshot",
632
- "org:create:force:snapshot",
633
- "org:create:snapshot:force",
634
- "force:create:org:snapshot",
635
- "create:force:org:snapshot",
636
- "create:org:force:snapshot",
637
- "create:org:snapshot:force",
638
- "force:create:snapshot:org",
639
- "create:force:snapshot:org",
640
- "create:snapshot:force:org",
641
- "create:snapshot:org:force"
618
+ "force:org:snapshot:get",
619
+ "org:force:snapshot:get",
620
+ "org:snapshot:force:get",
621
+ "org:snapshot:get:force",
622
+ "force:snapshot:org:get",
623
+ "snapshot:force:org:get",
624
+ "snapshot:org:force:get",
625
+ "snapshot:org:get:force",
626
+ "force:snapshot:get:org",
627
+ "snapshot:force:get:org",
628
+ "snapshot:get:force:org",
629
+ "snapshot:get:org:force",
630
+ "force:org:get:snapshot",
631
+ "org:force:get:snapshot",
632
+ "org:get:force:snapshot",
633
+ "org:get:snapshot:force",
634
+ "force:get:org:snapshot",
635
+ "get:force:org:snapshot",
636
+ "get:org:force:snapshot",
637
+ "get:org:snapshot:force",
638
+ "force:get:snapshot:org",
639
+ "get:force:snapshot:org",
640
+ "get:snapshot:force:org",
641
+ "get:snapshot:org:force"
642
642
  ],
643
643
  "permutations": [
644
- "org:create:snapshot",
645
- "create:org:snapshot",
646
- "create:snapshot:org",
647
- "org:snapshot:create",
648
- "snapshot:org:create",
649
- "snapshot:create:org"
644
+ "org:get:snapshot",
645
+ "get:org:snapshot",
646
+ "get:snapshot:org",
647
+ "org:snapshot:get",
648
+ "snapshot:org:get",
649
+ "snapshot:get:org"
650
650
  ]
651
651
  },
652
652
  "org:list:shape": {
@@ -862,5 +862,5 @@
862
862
  ]
863
863
  }
864
864
  },
865
- "version": "2.6.23"
865
+ "version": "2.6.25"
866
866
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
3
  "description": "Commands to interact with org shapes",
4
- "version": "2.6.23",
4
+ "version": "2.6.25",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^4",
9
- "@salesforce/core": "^8.10.0",
9
+ "@salesforce/core": "^8.10.1",
10
10
  "@salesforce/kit": "^3.2.3",
11
11
  "@salesforce/sf-plugins-core": "^12.2.1",
12
12
  "change-case": "^5.4.4"
@@ -15,13 +15,13 @@
15
15
  "@oclif/plugin-command-snapshot": "^5.2.38",
16
16
  "@salesforce/cli-plugins-testkit": "^5.3.39",
17
17
  "@salesforce/dev-scripts": "^11.0.2",
18
- "@salesforce/plugin-command-reference": "^3.1.49",
18
+ "@salesforce/plugin-command-reference": "^3.1.50",
19
19
  "@salesforce/ts-types": "^2.0.11",
20
20
  "@types/chai-as-promised": "^7.1.8",
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.20",
24
+ "eslint-plugin-sf-plugin": "^1.20.21",
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.23.crt",
224
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.23.sig"
223
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.25.crt",
224
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.6.25.sig"
225
225
  }
226
226
  }