@salesforce/plugin-packaging 1.27.9 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +171 -171
- package/lib/commands/package/convert.d.ts +11 -11
- package/lib/commands/package/convert.js +81 -85
- package/lib/commands/package/convert.js.map +1 -1
- package/lib/commands/package/create.d.ts +10 -10
- package/lib/commands/package/create.js +64 -68
- package/lib/commands/package/create.js.map +1 -1
- package/lib/commands/package/delete.d.ts +6 -6
- package/lib/commands/package/delete.js +35 -39
- package/lib/commands/package/delete.js.map +1 -1
- package/lib/commands/package/install/report.d.ts +4 -4
- package/lib/commands/package/install/report.js +27 -30
- package/lib/commands/package/install/report.js.map +1 -1
- package/lib/commands/package/install.d.ts +12 -12
- package/lib/commands/package/install.js +104 -106
- package/lib/commands/package/install.js.map +1 -1
- package/lib/commands/package/installed/list.d.ts +3 -3
- package/lib/commands/package/installed/list.js +17 -21
- package/lib/commands/package/installed/list.js.map +1 -1
- package/lib/commands/package/list.d.ts +4 -4
- package/lib/commands/package/list.js +24 -31
- package/lib/commands/package/list.js.map +1 -1
- package/lib/commands/package/uninstall/report.d.ts +4 -4
- package/lib/commands/package/uninstall/report.js +26 -30
- package/lib/commands/package/uninstall/report.js.map +1 -1
- package/lib/commands/package/uninstall.d.ts +5 -5
- package/lib/commands/package/uninstall.js +31 -35
- package/lib/commands/package/uninstall.js.map +1 -1
- package/lib/commands/package/update.d.ts +8 -8
- package/lib/commands/package/update.js +45 -49
- package/lib/commands/package/update.js.map +1 -1
- package/lib/commands/package/version/create/list.d.ts +7 -7
- package/lib/commands/package/version/create/list.js +41 -44
- package/lib/commands/package/version/create/list.js.map +1 -1
- package/lib/commands/package/version/create/report.d.ts +4 -4
- package/lib/commands/package/version/create/report.js +34 -38
- package/lib/commands/package/version/create/report.js.map +1 -1
- package/lib/commands/package/version/create.d.ts +26 -26
- package/lib/commands/package/version/create.js +165 -169
- package/lib/commands/package/version/create.js.map +1 -1
- package/lib/commands/package/version/delete.d.ts +6 -6
- package/lib/commands/package/version/delete.js +34 -38
- package/lib/commands/package/version/delete.js.map +1 -1
- package/lib/commands/package/version/displayancestry.d.ts +6 -6
- package/lib/commands/package/version/displayancestry.js +33 -37
- package/lib/commands/package/version/displayancestry.js.map +1 -1
- package/lib/commands/package/version/list.d.ts +11 -11
- package/lib/commands/package/version/list.js +59 -63
- package/lib/commands/package/version/list.js.map +1 -1
- package/lib/commands/package/version/promote.d.ts +5 -5
- package/lib/commands/package/version/promote.js +31 -35
- package/lib/commands/package/version/promote.js.map +1 -1
- package/lib/commands/package/version/report.d.ts +5 -5
- package/lib/commands/package/version/report.js +31 -38
- package/lib/commands/package/version/report.js.map +1 -1
- package/lib/commands/package/version/retrieve.d.ts +5 -5
- package/lib/commands/package/version/retrieve.js +28 -32
- package/lib/commands/package/version/retrieve.js.map +1 -1
- package/lib/commands/package/version/update.d.ts +9 -9
- package/lib/commands/package/version/update.js +50 -54
- package/lib/commands/package/version/update.js.map +1 -1
- package/lib/commands/package1/version/create/get.d.ts +4 -4
- package/lib/commands/package1/version/create/get.js +25 -29
- package/lib/commands/package1/version/create/get.js.map +1 -1
- package/lib/commands/package1/version/create.d.ts +12 -12
- package/lib/commands/package1/version/create.js +75 -79
- package/lib/commands/package1/version/create.js.map +1 -1
- package/lib/commands/package1/version/display.d.ts +4 -4
- package/lib/commands/package1/version/display.js +25 -29
- package/lib/commands/package1/version/display.js.map +1 -1
- package/lib/commands/package1/version/list.d.ts +4 -4
- package/lib/commands/package1/version/list.js +25 -29
- package/lib/commands/package1/version/list.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -2
- package/lib/index.js.map +1 -1
- package/lib/utils/hubFlag.d.ts +1 -1
- package/lib/utils/hubFlag.js +2 -5
- package/lib/utils/hubFlag.js.map +1 -1
- package/oclif.lock +46 -124
- package/oclif.manifest.json +1191 -212
- package/package.json +23 -22
package/README.md
CHANGED
|
@@ -30,36 +30,36 @@ See [DEVELOPING.md](DEVELOPING.md)
|
|
|
30
30
|
|
|
31
31
|
<!-- commands -->
|
|
32
32
|
|
|
33
|
-
- [`sf package1
|
|
34
|
-
- [`sf package1
|
|
35
|
-
- [`sf package1
|
|
36
|
-
- [`sf package1
|
|
37
|
-
- [`sf package
|
|
38
|
-
- [`sf package
|
|
39
|
-
- [`sf package
|
|
40
|
-
- [`sf package
|
|
41
|
-
- [`sf package
|
|
42
|
-
- [`sf package
|
|
43
|
-
- [`sf package
|
|
44
|
-
- [`sf package
|
|
45
|
-
- [`sf package
|
|
46
|
-
- [`sf package
|
|
47
|
-
- [`sf package
|
|
48
|
-
- [`sf package
|
|
49
|
-
- [`sf package
|
|
50
|
-
- [`sf package
|
|
51
|
-
- [`sf package
|
|
52
|
-
- [`sf package
|
|
53
|
-
- [`sf package
|
|
54
|
-
- [`sf package
|
|
55
|
-
|
|
56
|
-
## `sf package1
|
|
33
|
+
- [`sf package1 version create`](#sf-package1-version-create)
|
|
34
|
+
- [`sf package1 version create get`](#sf-package1-version-create-get)
|
|
35
|
+
- [`sf package1 version display`](#sf-package1-version-display)
|
|
36
|
+
- [`sf package1 version list`](#sf-package1-version-list)
|
|
37
|
+
- [`sf package create`](#sf-package-create)
|
|
38
|
+
- [`sf package delete`](#sf-package-delete)
|
|
39
|
+
- [`sf package install`](#sf-package-install)
|
|
40
|
+
- [`sf package install report`](#sf-package-install-report)
|
|
41
|
+
- [`sf package installed list`](#sf-package-installed-list)
|
|
42
|
+
- [`sf package list`](#sf-package-list)
|
|
43
|
+
- [`sf package uninstall`](#sf-package-uninstall)
|
|
44
|
+
- [`sf package uninstall report`](#sf-package-uninstall-report)
|
|
45
|
+
- [`sf package update`](#sf-package-update)
|
|
46
|
+
- [`sf package version create`](#sf-package-version-create)
|
|
47
|
+
- [`sf package version create list`](#sf-package-version-create-list)
|
|
48
|
+
- [`sf package version create report`](#sf-package-version-create-report)
|
|
49
|
+
- [`sf package version delete`](#sf-package-version-delete)
|
|
50
|
+
- [`sf package version displayancestry`](#sf-package-version-displayancestry)
|
|
51
|
+
- [`sf package version list`](#sf-package-version-list)
|
|
52
|
+
- [`sf package version promote`](#sf-package-version-promote)
|
|
53
|
+
- [`sf package version report`](#sf-package-version-report)
|
|
54
|
+
- [`sf package version update`](#sf-package-version-update)
|
|
55
|
+
|
|
56
|
+
## `sf package1 version create`
|
|
57
57
|
|
|
58
58
|
Create a first-generation package version in the release org.
|
|
59
59
|
|
|
60
60
|
```
|
|
61
61
|
USAGE
|
|
62
|
-
$ sf package1
|
|
62
|
+
$ sf package1 version create -o <value> -i <value> -n <value> [--json] [--api-version <value>] [-d <value>] [-v <value>]
|
|
63
63
|
[-m] [-r <value>] [-p <value>] [-k <value>] [-w <value>]
|
|
64
64
|
|
|
65
65
|
FLAGS
|
|
@@ -87,18 +87,18 @@ DESCRIPTION
|
|
|
87
87
|
create an unmanaged package version.
|
|
88
88
|
|
|
89
89
|
ALIASES
|
|
90
|
-
$ sf force
|
|
90
|
+
$ sf force package1 version create
|
|
91
91
|
|
|
92
92
|
EXAMPLES
|
|
93
93
|
Create a first-generation package version from the package with the specified ID and name the package version
|
|
94
94
|
"example"; use your default org:
|
|
95
95
|
|
|
96
|
-
$ sf package1
|
|
96
|
+
$ sf package1 version create --package-id 033... --name example
|
|
97
97
|
|
|
98
98
|
Same as previous example, but provide a description and wait for 30 minutes for the package version to be created;
|
|
99
99
|
use the specified org:
|
|
100
100
|
|
|
101
|
-
$ sf package1
|
|
101
|
+
$ sf package1 version create --package-id 033... --name example --description "example description" --wait 30 \
|
|
102
102
|
--target-org myorg@example.com
|
|
103
103
|
|
|
104
104
|
FLAG DESCRIPTIONS
|
|
@@ -117,15 +117,15 @@ FLAG DESCRIPTIONS
|
|
|
117
117
|
subscribers.
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
-
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
120
|
+
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package1/version/create.ts)_
|
|
121
121
|
|
|
122
|
-
## `sf package1
|
|
122
|
+
## `sf package1 version create get`
|
|
123
123
|
|
|
124
124
|
Retrieve the status of a package version creation request.
|
|
125
125
|
|
|
126
126
|
```
|
|
127
127
|
USAGE
|
|
128
|
-
$ sf package1
|
|
128
|
+
$ sf package1 version create get -o <value> -i <value> [--json] [--api-version <value>]
|
|
129
129
|
|
|
130
130
|
FLAGS
|
|
131
131
|
-i, --request-id=<value> (required) ID of the PackageUploadRequest (starts with 0HD).
|
|
@@ -137,27 +137,27 @@ GLOBAL FLAGS
|
|
|
137
137
|
--json Format output as json.
|
|
138
138
|
|
|
139
139
|
ALIASES
|
|
140
|
-
$ sf force
|
|
140
|
+
$ sf force package1 version create get
|
|
141
141
|
|
|
142
142
|
EXAMPLES
|
|
143
143
|
Get the status of the creation request for the package version with the specified ID in your default org:
|
|
144
144
|
|
|
145
|
-
$ sf package1
|
|
145
|
+
$ sf package1 version create get --request-id 0HD...
|
|
146
146
|
|
|
147
147
|
Same as previous example, but use the specified org:
|
|
148
148
|
|
|
149
|
-
$ sf package1
|
|
149
|
+
$ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
-
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
152
|
+
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package1/version/create/get.ts)_
|
|
153
153
|
|
|
154
|
-
## `sf package1
|
|
154
|
+
## `sf package1 version display`
|
|
155
155
|
|
|
156
156
|
Display details about a first-generation package version.
|
|
157
157
|
|
|
158
158
|
```
|
|
159
159
|
USAGE
|
|
160
|
-
$ sf package1
|
|
160
|
+
$ sf package1 version display -o <value> -i <value> [--json] [--api-version <value>]
|
|
161
161
|
|
|
162
162
|
FLAGS
|
|
163
163
|
-i, --package-version-id=<value> (required) ID (starts with 04t) of the metadata package version whose details you
|
|
@@ -170,27 +170,27 @@ GLOBAL FLAGS
|
|
|
170
170
|
--json Format output as json.
|
|
171
171
|
|
|
172
172
|
ALIASES
|
|
173
|
-
$ sf force
|
|
173
|
+
$ sf force package1 version display
|
|
174
174
|
|
|
175
175
|
EXAMPLES
|
|
176
176
|
Display details about the first-generation package version with the specified ID in your default org:
|
|
177
177
|
|
|
178
|
-
$ sf package1
|
|
178
|
+
$ sf package1 version display --package-version-id 04t...
|
|
179
179
|
|
|
180
180
|
Same as previous example, but use the specified org:
|
|
181
181
|
|
|
182
|
-
$ sf package1
|
|
182
|
+
$ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
|
|
183
183
|
```
|
|
184
184
|
|
|
185
|
-
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
185
|
+
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package1/version/display.ts)_
|
|
186
186
|
|
|
187
|
-
## `sf package1
|
|
187
|
+
## `sf package1 version list`
|
|
188
188
|
|
|
189
189
|
List package versions for the specified first-generation package or for the org.
|
|
190
190
|
|
|
191
191
|
```
|
|
192
192
|
USAGE
|
|
193
|
-
$ sf package1
|
|
193
|
+
$ sf package1 version list -o <value> [--json] [--api-version <value>] [-i <value>]
|
|
194
194
|
|
|
195
195
|
FLAGS
|
|
196
196
|
-i, --package-id=<value> Metadata package ID (starts with 033) whose package versions you want to list.
|
|
@@ -202,16 +202,16 @@ GLOBAL FLAGS
|
|
|
202
202
|
--json Format output as json.
|
|
203
203
|
|
|
204
204
|
ALIASES
|
|
205
|
-
$ sf force
|
|
205
|
+
$ sf force package1 version list
|
|
206
206
|
|
|
207
207
|
EXAMPLES
|
|
208
208
|
List all first-generation package versions in your default org:
|
|
209
209
|
|
|
210
|
-
$ sf package1
|
|
210
|
+
$ sf package1 version list
|
|
211
211
|
|
|
212
212
|
List package versions for the specified first-generation package in the specifief org:
|
|
213
213
|
|
|
214
|
-
$ sf package1
|
|
214
|
+
$ sf package1 version list --package-id 033... --target-org myorg@example.com
|
|
215
215
|
|
|
216
216
|
FLAG DESCRIPTIONS
|
|
217
217
|
-i, --package-id=<value> Metadata package ID (starts with 033) whose package versions you want to list.
|
|
@@ -219,15 +219,15 @@ FLAG DESCRIPTIONS
|
|
|
219
219
|
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
222
|
+
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package1/version/list.ts)_
|
|
223
223
|
|
|
224
|
-
## `sf package
|
|
224
|
+
## `sf package create`
|
|
225
225
|
|
|
226
226
|
Create a package.
|
|
227
227
|
|
|
228
228
|
```
|
|
229
229
|
USAGE
|
|
230
|
-
$ sf package
|
|
230
|
+
$ sf package create -v <value> -n <value> -t Managed|Unlocked -r <value> [--json] [--api-version <value>] [-d
|
|
231
231
|
<value>] [-e] [--org-dependent] [-o <value>]
|
|
232
232
|
|
|
233
233
|
FLAGS
|
|
@@ -260,17 +260,17 @@ DESCRIPTION
|
|
|
260
260
|
Run 'sf package list to list all packages in the Dev Hub org.
|
|
261
261
|
|
|
262
262
|
ALIASES
|
|
263
|
-
$ sf force
|
|
263
|
+
$ sf force package create
|
|
264
264
|
|
|
265
265
|
EXAMPLES
|
|
266
266
|
Create an unlocked package from the files in the "force-app" directory; uses your default Dev Hub org:
|
|
267
267
|
|
|
268
|
-
$ sf package
|
|
268
|
+
$ sf package create --name MyUnlockedPackage --package-type Unlocked --path force-app
|
|
269
269
|
|
|
270
270
|
Create a managed packaged from the "force-app" directory files, give the package a description, and use the
|
|
271
271
|
specified Dev Hub org:
|
|
272
272
|
|
|
273
|
-
$ sf package
|
|
273
|
+
$ sf package create --name MyManagedPackage --description "Your Package Descripton" --package-type Managed \
|
|
274
274
|
--path force-app --target-dev-hub devhub@example.com
|
|
275
275
|
|
|
276
276
|
FLAG DESCRIPTIONS
|
|
@@ -297,15 +297,15 @@ FLAG DESCRIPTIONS
|
|
|
297
297
|
Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
|
|
298
298
|
```
|
|
299
299
|
|
|
300
|
-
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
300
|
+
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/create.ts)_
|
|
301
301
|
|
|
302
|
-
## `sf package
|
|
302
|
+
## `sf package delete`
|
|
303
303
|
|
|
304
304
|
Delete a package.
|
|
305
305
|
|
|
306
306
|
```
|
|
307
307
|
USAGE
|
|
308
|
-
$ sf package
|
|
308
|
+
$ sf package delete -v <value> -p <value> [--json] [--api-version <value>] [-n]
|
|
309
309
|
|
|
310
310
|
FLAGS
|
|
311
311
|
-n, --no-prompt Don’t prompt before deleting the package.
|
|
@@ -326,27 +326,27 @@ DESCRIPTION
|
|
|
326
326
|
package versions.
|
|
327
327
|
|
|
328
328
|
ALIASES
|
|
329
|
-
$ sf force
|
|
329
|
+
$ sf force package delete
|
|
330
330
|
|
|
331
331
|
EXAMPLES
|
|
332
332
|
Delete a package using its alias from your default Dev Hub org:
|
|
333
333
|
|
|
334
|
-
$ sf package
|
|
334
|
+
$ sf package delete --package "Your Package Alias"
|
|
335
335
|
|
|
336
336
|
Delete a package using its ID from the specified Dev Hub org:
|
|
337
337
|
|
|
338
|
-
$ sf package
|
|
338
|
+
$ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
|
|
339
339
|
```
|
|
340
340
|
|
|
341
|
-
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
341
|
+
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/delete.ts)_
|
|
342
342
|
|
|
343
|
-
## `sf package
|
|
343
|
+
## `sf package install`
|
|
344
344
|
|
|
345
345
|
Install a version of a package in the target org.
|
|
346
346
|
|
|
347
347
|
```
|
|
348
348
|
USAGE
|
|
349
|
-
$ sf package
|
|
349
|
+
$ sf package install -o <value> -p <value> [--json] [--api-version <value>] [-w <value>] [-k <value>] [-b <value>]
|
|
350
350
|
[-r] [-a all|package] [-s AllUsers|AdminsOnly] [-t DeprecateOnly|Mixed|Delete]
|
|
351
351
|
|
|
352
352
|
FLAGS
|
|
@@ -387,24 +387,24 @@ DESCRIPTION
|
|
|
387
387
|
Mixed.
|
|
388
388
|
|
|
389
389
|
ALIASES
|
|
390
|
-
$ sf force
|
|
390
|
+
$ sf force package install
|
|
391
391
|
|
|
392
392
|
EXAMPLES
|
|
393
393
|
Install a package version with the specified ID in the org with username "me@example.com":
|
|
394
394
|
|
|
395
|
-
$ sf package
|
|
395
|
+
$ sf package install --package 04t... --target-org me@example.com
|
|
396
396
|
|
|
397
397
|
Install a package version with the specified alias into your default org:
|
|
398
398
|
|
|
399
|
-
$ sf package
|
|
399
|
+
$ sf package install --package awesome_package_alias
|
|
400
400
|
|
|
401
401
|
Install a package version with an alias that includes spaces into your default org:
|
|
402
402
|
|
|
403
|
-
$ sf package
|
|
403
|
+
$ sf package install --package "Awesome Package Alias"
|
|
404
404
|
|
|
405
405
|
Install an unlocked package version with the specified ID and deprecate all removed components:
|
|
406
406
|
|
|
407
|
-
$ sf package
|
|
407
|
+
$ sf package install --package 04t... --upgrade-type DeprecateOnly
|
|
408
408
|
|
|
409
409
|
FLAG DESCRIPTIONS
|
|
410
410
|
-a, --apex-compile=all|package
|
|
@@ -435,15 +435,15 @@ FLAG DESCRIPTIONS
|
|
|
435
435
|
specify DeprecateOnly or Delete only for unlocked package upgrades.
|
|
436
436
|
```
|
|
437
437
|
|
|
438
|
-
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
438
|
+
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/install.ts)_
|
|
439
439
|
|
|
440
|
-
## `sf package
|
|
440
|
+
## `sf package install report`
|
|
441
441
|
|
|
442
442
|
Retrieve the status of a package installation request.
|
|
443
443
|
|
|
444
444
|
```
|
|
445
445
|
USAGE
|
|
446
|
-
$ sf package
|
|
446
|
+
$ sf package install report -o <value> -i <value> [--json] [--api-version <value>]
|
|
447
447
|
|
|
448
448
|
FLAGS
|
|
449
449
|
-i, --request-id=<value> (required) ID of the package install request you want to check; starts with 0Hf.
|
|
@@ -455,27 +455,27 @@ GLOBAL FLAGS
|
|
|
455
455
|
--json Format output as json.
|
|
456
456
|
|
|
457
457
|
ALIASES
|
|
458
|
-
$ sf force
|
|
458
|
+
$ sf force package install report
|
|
459
459
|
|
|
460
460
|
EXAMPLES
|
|
461
461
|
Retrieve the status of a package installation request with the specified ID on your default org:
|
|
462
462
|
|
|
463
|
-
$ sf package
|
|
463
|
+
$ sf package install report --request-id 0Hf...
|
|
464
464
|
|
|
465
465
|
Similar to previous example, except use the org with username me@example.com:
|
|
466
466
|
|
|
467
|
-
$ sf package
|
|
467
|
+
$ sf package install report --request-id 0Hf... --target-org me@example.com
|
|
468
468
|
```
|
|
469
469
|
|
|
470
|
-
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
470
|
+
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/install/report.ts)_
|
|
471
471
|
|
|
472
|
-
## `sf package
|
|
472
|
+
## `sf package installed list`
|
|
473
473
|
|
|
474
474
|
List the org’s installed packages.
|
|
475
475
|
|
|
476
476
|
```
|
|
477
477
|
USAGE
|
|
478
|
-
$ sf package
|
|
478
|
+
$ sf package installed list -o <value> [--json] [--api-version <value>]
|
|
479
479
|
|
|
480
480
|
FLAGS
|
|
481
481
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
@@ -486,27 +486,27 @@ GLOBAL FLAGS
|
|
|
486
486
|
--json Format output as json.
|
|
487
487
|
|
|
488
488
|
ALIASES
|
|
489
|
-
$ sf force
|
|
489
|
+
$ sf force package installed list
|
|
490
490
|
|
|
491
491
|
EXAMPLES
|
|
492
492
|
List the installed packages in your default org:
|
|
493
493
|
|
|
494
|
-
$ sf package
|
|
494
|
+
$ sf package installed list
|
|
495
495
|
|
|
496
496
|
List the installed packages in the org with username me@example.com:
|
|
497
497
|
|
|
498
|
-
$ sf package
|
|
498
|
+
$ sf package installed list --target-org me@example.com
|
|
499
499
|
```
|
|
500
500
|
|
|
501
|
-
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
501
|
+
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/installed/list.ts)_
|
|
502
502
|
|
|
503
|
-
## `sf package
|
|
503
|
+
## `sf package list`
|
|
504
504
|
|
|
505
505
|
List all packages in the Dev Hub org.
|
|
506
506
|
|
|
507
507
|
```
|
|
508
508
|
USAGE
|
|
509
|
-
$ sf package
|
|
509
|
+
$ sf package list -v <value> [--json] [--api-version <value>] [--verbose]
|
|
510
510
|
|
|
511
511
|
FLAGS
|
|
512
512
|
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
|
|
@@ -523,27 +523,27 @@ DESCRIPTION
|
|
|
523
523
|
Description
|
|
524
524
|
|
|
525
525
|
ALIASES
|
|
526
|
-
$ sf force
|
|
526
|
+
$ sf force package list
|
|
527
527
|
|
|
528
528
|
EXAMPLES
|
|
529
529
|
List all packages in the specified Dev Hub org:
|
|
530
530
|
|
|
531
|
-
$ sf package
|
|
531
|
+
$ sf package list --target-dev-hub devhub@example.com
|
|
532
532
|
|
|
533
533
|
List all packages details in the specified Dev Hub org, and show extended details about each package:
|
|
534
534
|
|
|
535
|
-
$ sf package
|
|
535
|
+
$ sf package list --target-dev-hub devhub@example.com --verbose
|
|
536
536
|
```
|
|
537
537
|
|
|
538
|
-
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
538
|
+
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/list.ts)_
|
|
539
539
|
|
|
540
|
-
## `sf package
|
|
540
|
+
## `sf package uninstall`
|
|
541
541
|
|
|
542
542
|
Uninstall a second-generation package from the target org.
|
|
543
543
|
|
|
544
544
|
```
|
|
545
545
|
USAGE
|
|
546
|
-
$ sf package
|
|
546
|
+
$ sf package uninstall -o <value> -p <value> [--json] [--api-version <value>] [-w <value>]
|
|
547
547
|
|
|
548
548
|
FLAGS
|
|
549
549
|
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
@@ -566,31 +566,31 @@ DESCRIPTION
|
|
|
566
566
|
Installed Packages.
|
|
567
567
|
|
|
568
568
|
ALIASES
|
|
569
|
-
$ sf force
|
|
569
|
+
$ sf force package uninstall
|
|
570
570
|
|
|
571
571
|
EXAMPLES
|
|
572
572
|
Uninstall a package with specified ID from an org with username me@example.com:
|
|
573
573
|
|
|
574
|
-
$ sf package
|
|
574
|
+
$ sf package uninstall --package 04t... --target-org me@example.com
|
|
575
575
|
|
|
576
576
|
Uninstall a package with the specified alias from your default org:
|
|
577
577
|
|
|
578
|
-
$ sf package
|
|
578
|
+
$ sf package uninstall --package undesirable_package_alias
|
|
579
579
|
|
|
580
580
|
Uninstall a package with an alias that contains spaces from your default org:
|
|
581
581
|
|
|
582
|
-
$ sf package
|
|
582
|
+
$ sf package uninstall --package "Undesirable Package Alias"
|
|
583
583
|
```
|
|
584
584
|
|
|
585
|
-
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
585
|
+
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/uninstall.ts)_
|
|
586
586
|
|
|
587
|
-
## `sf package
|
|
587
|
+
## `sf package uninstall report`
|
|
588
588
|
|
|
589
589
|
Retrieve the status of a package uninstall request.
|
|
590
590
|
|
|
591
591
|
```
|
|
592
592
|
USAGE
|
|
593
|
-
$ sf package
|
|
593
|
+
$ sf package uninstall report -o <value> -i <value> [--json] [--api-version <value>]
|
|
594
594
|
|
|
595
595
|
FLAGS
|
|
596
596
|
-i, --request-id=<value> (required) ID of the package uninstall request you want to check; starts with 06y.
|
|
@@ -602,27 +602,27 @@ GLOBAL FLAGS
|
|
|
602
602
|
--json Format output as json.
|
|
603
603
|
|
|
604
604
|
ALIASES
|
|
605
|
-
$ sf force
|
|
605
|
+
$ sf force package uninstall report
|
|
606
606
|
|
|
607
607
|
EXAMPLES
|
|
608
608
|
Retrieve the status of a package uninstall in your default org using the specified request ID:
|
|
609
609
|
|
|
610
|
-
$ sf package
|
|
610
|
+
$ sf package uninstall report --request-id 06y...
|
|
611
611
|
|
|
612
612
|
Similar to previous example, but use the org with username me@example.com:
|
|
613
613
|
|
|
614
|
-
$ sf package
|
|
614
|
+
$ sf package uninstall report --request-id 06y... --target-org me@example.com
|
|
615
615
|
```
|
|
616
616
|
|
|
617
|
-
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
617
|
+
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/uninstall/report.ts)_
|
|
618
618
|
|
|
619
|
-
## `sf package
|
|
619
|
+
## `sf package update`
|
|
620
620
|
|
|
621
621
|
Update package details.
|
|
622
622
|
|
|
623
623
|
```
|
|
624
624
|
USAGE
|
|
625
|
-
$ sf package
|
|
625
|
+
$ sf package update -v <value> -p <value> [--json] [--api-version <value>] [-n <value>] [-d <value>] [-o <value>]
|
|
626
626
|
[--enable-app-analytics]
|
|
627
627
|
|
|
628
628
|
FLAGS
|
|
@@ -648,16 +648,16 @@ DESCRIPTION
|
|
|
648
648
|
Run "sf package list" to list all packages in the Dev Hub org.
|
|
649
649
|
|
|
650
650
|
ALIASES
|
|
651
|
-
$ sf force
|
|
651
|
+
$ sf force package update
|
|
652
652
|
|
|
653
653
|
EXAMPLES
|
|
654
654
|
Update the name of the package with the specified alias; uses your default Dev Hub org:
|
|
655
655
|
|
|
656
|
-
$ sf package
|
|
656
|
+
$ sf package update --package "Your Package Alias" --name "New Package Name"
|
|
657
657
|
|
|
658
658
|
Update the description of the package with the specified ID; uses the specified Dev Hub org:
|
|
659
659
|
|
|
660
|
-
$ sf package
|
|
660
|
+
$ sf package update --package 0Ho... --description "New Package Description" --target-dev-hub devhub@example.com
|
|
661
661
|
|
|
662
662
|
FLAG DESCRIPTIONS
|
|
663
663
|
-o, --error-notification-username=<value>
|
|
@@ -668,15 +668,15 @@ FLAG DESCRIPTIONS
|
|
|
668
668
|
associated with your package.
|
|
669
669
|
```
|
|
670
670
|
|
|
671
|
-
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
671
|
+
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/update.ts)_
|
|
672
672
|
|
|
673
|
-
## `sf package
|
|
673
|
+
## `sf package version create`
|
|
674
674
|
|
|
675
675
|
Create a package version in the Dev Hub org.
|
|
676
676
|
|
|
677
677
|
```
|
|
678
678
|
USAGE
|
|
679
|
-
$ sf package
|
|
679
|
+
$ sf package version create -v <value> [--json] [--api-version <value>] [-b <value>] [-c | --skip-validation] [-f <value>]
|
|
680
680
|
[-k <value>] [-x] [-p <value>] [-d <value>] [--post-install-script <value>] [--post-install-url <value>]
|
|
681
681
|
[--releasenotes-url <value>] [--skip-ancestor-check] [-t <value>] [--uninstall-script <value>] [-e <value>] [-a
|
|
682
682
|
<value>] [-n <value>] [-w <value>] [--language <value>] [--verbose]
|
|
@@ -739,27 +739,27 @@ DESCRIPTION
|
|
|
739
739
|
--skip-validation.
|
|
740
740
|
|
|
741
741
|
ALIASES
|
|
742
|
-
$ sf force
|
|
742
|
+
$ sf force package version create
|
|
743
743
|
|
|
744
744
|
EXAMPLES
|
|
745
745
|
Create a package version from the contents of the "common" directory and give it an installation key of
|
|
746
746
|
"password123"; uses your default Dev Hub org:
|
|
747
747
|
|
|
748
|
-
$ sf package
|
|
748
|
+
$ sf package version create --path common --installation-key password123
|
|
749
749
|
|
|
750
750
|
Create a package version from a package with the specified alias; uses the Dev Hub org with username
|
|
751
751
|
devhub@example.com:
|
|
752
752
|
|
|
753
|
-
$ sf package
|
|
753
|
+
$ sf package version create --package "Your Package Alias" --installation-key password123 --target-dev-hub \
|
|
754
754
|
devhub@example.com
|
|
755
755
|
|
|
756
756
|
Create a package version from a package with the specified ID:
|
|
757
757
|
|
|
758
|
-
$ sf package
|
|
758
|
+
$ sf package version create --package 0Ho... --installation-key password123
|
|
759
759
|
|
|
760
760
|
Create a package version and skip the validation step:
|
|
761
761
|
|
|
762
|
-
$ sf package
|
|
762
|
+
$ sf package version create --path common --installation-key password123 --skip-validation
|
|
763
763
|
|
|
764
764
|
FLAG DESCRIPTIONS
|
|
765
765
|
-c, --code-coverage
|
|
@@ -823,15 +823,15 @@ FLAG DESCRIPTIONS
|
|
|
823
823
|
periods of no output from commands.
|
|
824
824
|
```
|
|
825
825
|
|
|
826
|
-
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
826
|
+
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/version/create.ts)_
|
|
827
827
|
|
|
828
|
-
## `sf package
|
|
828
|
+
## `sf package version create list`
|
|
829
829
|
|
|
830
830
|
List package version creation requests.
|
|
831
831
|
|
|
832
832
|
```
|
|
833
833
|
USAGE
|
|
834
|
-
$ sf package
|
|
834
|
+
$ sf package version create list -v <value> [--json] [--api-version <value>] [-c <value>] [-s Queued|InProgress|Success|Error]
|
|
835
835
|
[--show-conversions-only] [--verbose]
|
|
836
836
|
|
|
837
837
|
FLAGS
|
|
@@ -859,39 +859,39 @@ DESCRIPTION
|
|
|
859
859
|
To get information about a specific request, run "sf package version create report" and supply the request ID.
|
|
860
860
|
|
|
861
861
|
ALIASES
|
|
862
|
-
$ sf force
|
|
862
|
+
$ sf force package version create list
|
|
863
863
|
|
|
864
864
|
EXAMPLES
|
|
865
865
|
List all package version creation requests in your default Dev Hub org:
|
|
866
866
|
|
|
867
|
-
$ sf package
|
|
867
|
+
$ sf package version create list
|
|
868
868
|
|
|
869
869
|
List package version creation requests from the last 3 days in the Dev Hub org with username devhub@example.com:
|
|
870
870
|
|
|
871
|
-
$ sf package
|
|
871
|
+
$ sf package version create list --created-last-days 3 --target-dev-hub
|
|
872
872
|
|
|
873
873
|
List package version creation requests with status Error:
|
|
874
874
|
|
|
875
|
-
$ sf package
|
|
875
|
+
$ sf package version create list --status Error
|
|
876
876
|
|
|
877
877
|
List package version creation requests with status InProgress:
|
|
878
878
|
|
|
879
|
-
$ sf package
|
|
879
|
+
$ sf package version create list --status InProgress
|
|
880
880
|
|
|
881
881
|
List package version creation requests with status Success that were created today:
|
|
882
882
|
|
|
883
|
-
$ sf package
|
|
883
|
+
$ sf package version create list --created-last-days 0 --status Success
|
|
884
884
|
```
|
|
885
885
|
|
|
886
|
-
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
886
|
+
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/version/create/list.ts)_
|
|
887
887
|
|
|
888
|
-
## `sf package
|
|
888
|
+
## `sf package version create report`
|
|
889
889
|
|
|
890
890
|
Retrieve details about a package version creation request.
|
|
891
891
|
|
|
892
892
|
```
|
|
893
893
|
USAGE
|
|
894
|
-
$ sf package
|
|
894
|
+
$ sf package version create report -v <value> -i <value> [--json] [--api-version <value>]
|
|
895
895
|
|
|
896
896
|
FLAGS
|
|
897
897
|
-i, --package-create-request-id=<value> (required) ID (starts with 08c) of the package version creation request you
|
|
@@ -912,28 +912,28 @@ DESCRIPTION
|
|
|
912
912
|
To show all requests in the org, run "sf package version create list".
|
|
913
913
|
|
|
914
914
|
ALIASES
|
|
915
|
-
$ sf force
|
|
915
|
+
$ sf force package version create report
|
|
916
916
|
|
|
917
917
|
EXAMPLES
|
|
918
918
|
Retrieve details about the package version creation request with the specified ID; uses your default Dev Hub org:
|
|
919
919
|
|
|
920
|
-
$ sf package
|
|
920
|
+
$ sf package version create report --package-create-request-id 08c...
|
|
921
921
|
|
|
922
922
|
Retrieve details about the specified package version creation request in the Dev Hub org with username
|
|
923
923
|
devhub@example.com:
|
|
924
924
|
|
|
925
|
-
$ sf package
|
|
925
|
+
$ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
|
|
926
926
|
```
|
|
927
927
|
|
|
928
|
-
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
928
|
+
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/version/create/report.ts)_
|
|
929
929
|
|
|
930
|
-
## `sf package
|
|
930
|
+
## `sf package version delete`
|
|
931
931
|
|
|
932
932
|
Delete a package version.
|
|
933
933
|
|
|
934
934
|
```
|
|
935
935
|
USAGE
|
|
936
|
-
$ sf package
|
|
936
|
+
$ sf package version delete -v <value> -p <value> [--json] [--api-version <value>] [-n]
|
|
937
937
|
|
|
938
938
|
FLAGS
|
|
939
939
|
-n, --no-prompt Don’t prompt before deleting the package version.
|
|
@@ -951,27 +951,27 @@ DESCRIPTION
|
|
|
951
951
|
Specify the ID or alias of the package version you want to delete.
|
|
952
952
|
|
|
953
953
|
ALIASES
|
|
954
|
-
$ sf force
|
|
954
|
+
$ sf force package version delete
|
|
955
955
|
|
|
956
956
|
EXAMPLES
|
|
957
957
|
Delete a package version with the specified alias using your default Dev Hub org:
|
|
958
958
|
|
|
959
|
-
$ sf package
|
|
959
|
+
$ sf package version delete --package "Your Package Alias"
|
|
960
960
|
|
|
961
961
|
Delete a package version with the specified ID using the Dev Hub org with username "devhub@example.com":
|
|
962
962
|
|
|
963
|
-
$ sf package
|
|
963
|
+
$ sf package version delete --package 04t... --target-org devhub@example.com
|
|
964
964
|
```
|
|
965
965
|
|
|
966
|
-
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
966
|
+
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/version/delete.ts)_
|
|
967
967
|
|
|
968
|
-
## `sf package
|
|
968
|
+
## `sf package version displayancestry`
|
|
969
969
|
|
|
970
970
|
Display the ancestry tree for a 2GP managed package version.
|
|
971
971
|
|
|
972
972
|
```
|
|
973
973
|
USAGE
|
|
974
|
-
$ sf package
|
|
974
|
+
$ sf package version displayancestry -v <value> -p <value> [--json] [--api-version <value>] [--dot-code] [--verbose]
|
|
975
975
|
|
|
976
976
|
FLAGS
|
|
977
977
|
-p, --package=<value> (required) ID or alias of the package (starts with 0Ho) or package version (starts with
|
|
@@ -987,25 +987,25 @@ GLOBAL FLAGS
|
|
|
987
987
|
--json Format output as json.
|
|
988
988
|
|
|
989
989
|
ALIASES
|
|
990
|
-
$ sf force
|
|
990
|
+
$ sf force package version displayancestry
|
|
991
991
|
|
|
992
992
|
EXAMPLES
|
|
993
993
|
Display the ancestry tree for a package version with the specified alias, using your default Dev Hub org:
|
|
994
994
|
|
|
995
|
-
$ sf package
|
|
995
|
+
$ sf package version displayancestry --package package_version_alias
|
|
996
996
|
|
|
997
997
|
Similar to previous example, but display the output in DOT code:
|
|
998
998
|
|
|
999
|
-
$ sf package
|
|
999
|
+
$ sf package version displayancestry --package package_version_alias --dot-code
|
|
1000
1000
|
|
|
1001
1001
|
Display the ancestry tree for a package with the specified ID, using the Dev Hub org with username
|
|
1002
1002
|
devhub@example.com:
|
|
1003
1003
|
|
|
1004
|
-
$ sf package
|
|
1004
|
+
$ sf package version displayancestry --package OHo... --target-dev-hub devhub@example.com
|
|
1005
1005
|
|
|
1006
1006
|
Display the ancestry tree of a package version with the specified ID, using your default Dev Hub org:
|
|
1007
1007
|
|
|
1008
|
-
$ sf package
|
|
1008
|
+
$ sf package version displayancestry --package 04t...
|
|
1009
1009
|
|
|
1010
1010
|
FLAG DESCRIPTIONS
|
|
1011
1011
|
-p, --package=<value>
|
|
@@ -1021,15 +1021,15 @@ FLAG DESCRIPTIONS
|
|
|
1021
1021
|
You can use the DOT code output in graph visualization software to create tree visualizations.
|
|
1022
1022
|
```
|
|
1023
1023
|
|
|
1024
|
-
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
1024
|
+
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/version/displayancestry.ts)_
|
|
1025
1025
|
|
|
1026
|
-
## `sf package
|
|
1026
|
+
## `sf package version list`
|
|
1027
1027
|
|
|
1028
1028
|
List all package versions in the Dev Hub org.
|
|
1029
1029
|
|
|
1030
1030
|
```
|
|
1031
1031
|
USAGE
|
|
1032
|
-
$ sf package
|
|
1032
|
+
$ sf package version list -v <value> [--json] [--api-version <value>] [-c <value>] [--concise] [--show-conversions-only]
|
|
1033
1033
|
[-m <value>] [-p <value>] [-r] [-o <value>] [--verbose]
|
|
1034
1034
|
|
|
1035
1035
|
FLAGS
|
|
@@ -1056,48 +1056,48 @@ DESCRIPTION
|
|
|
1056
1056
|
Description
|
|
1057
1057
|
|
|
1058
1058
|
ALIASES
|
|
1059
|
-
$ sf force
|
|
1059
|
+
$ sf force package version list
|
|
1060
1060
|
|
|
1061
1061
|
EXAMPLES
|
|
1062
1062
|
List package versions in your default Dev Hub org that were created in the last 3 days; show only the released
|
|
1063
1063
|
versions and order the list using the PatchVersion field. Display extended details about each package version:
|
|
1064
1064
|
|
|
1065
|
-
$ sf package
|
|
1065
|
+
$ sf package version list --verbose --created-last-days 3 --released --order-by PatchVersion
|
|
1066
1066
|
|
|
1067
1067
|
List the released package versions for the two specified packages that were modified today; use the Dev Hub org with
|
|
1068
1068
|
username devhub@example.com:
|
|
1069
1069
|
|
|
1070
|
-
$ sf package
|
|
1070
|
+
$ sf package version list --packages 0Ho000000000000,0Ho000000000001 --released --modified-last-days 0 \
|
|
1071
1071
|
--target-dev-hub devhub@example.com
|
|
1072
1072
|
|
|
1073
1073
|
List all released package versions in your default Dev Hub org:
|
|
1074
1074
|
|
|
1075
|
-
$ sf package
|
|
1075
|
+
$ sf package version list --released
|
|
1076
1076
|
|
|
1077
1077
|
List package versions that were modified today in your default Dev Hub org; show limited details about each one:
|
|
1078
1078
|
|
|
1079
|
-
$ sf package
|
|
1079
|
+
$ sf package version list --concise --modified-last-days 0
|
|
1080
1080
|
|
|
1081
1081
|
List released package versions that were created in the last 3 days in your default Dev Hub org; show limited
|
|
1082
1082
|
details:
|
|
1083
1083
|
|
|
1084
|
-
$ sf package
|
|
1084
|
+
$ sf package version list --concise --created-last-days 3 --released
|
|
1085
1085
|
|
|
1086
1086
|
List released package versions that were modified today for the two packages with specified aliases in your default
|
|
1087
1087
|
Dev Hub org:
|
|
1088
1088
|
|
|
1089
|
-
$ sf package
|
|
1089
|
+
$ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
|
|
1090
1090
|
```
|
|
1091
1091
|
|
|
1092
|
-
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
1092
|
+
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/version/list.ts)_
|
|
1093
1093
|
|
|
1094
|
-
## `sf package
|
|
1094
|
+
## `sf package version promote`
|
|
1095
1095
|
|
|
1096
1096
|
Promote a package version to released.
|
|
1097
1097
|
|
|
1098
1098
|
```
|
|
1099
1099
|
USAGE
|
|
1100
|
-
$ sf package
|
|
1100
|
+
$ sf package version promote -v <value> -p <value> [--json] [--api-version <value>] [-n]
|
|
1101
1101
|
|
|
1102
1102
|
FLAGS
|
|
1103
1103
|
-n, --no-prompt Don't prompt to confirm setting the package version as released.
|
|
@@ -1115,32 +1115,32 @@ DESCRIPTION
|
|
|
1115
1115
|
Supply the ID or alias of the package version you want to promote. Promotes the package version to released status.
|
|
1116
1116
|
|
|
1117
1117
|
ALIASES
|
|
1118
|
-
$ sf force
|
|
1118
|
+
$ sf force package version promote
|
|
1119
1119
|
|
|
1120
1120
|
EXAMPLES
|
|
1121
1121
|
Promote the package version with the specified ID to released; uses your default Dev Hub org:
|
|
1122
1122
|
|
|
1123
|
-
$ sf package
|
|
1123
|
+
$ sf package version promote --package 04t...
|
|
1124
1124
|
|
|
1125
1125
|
Promote the package version with the specified alias to released; uses the Dev Hub org with username
|
|
1126
1126
|
devhub@example.com:
|
|
1127
1127
|
|
|
1128
|
-
$ sf package
|
|
1128
|
+
$ sf package version promote --package awesome_package_alias --target-dev-hub devhub@example.com
|
|
1129
1129
|
|
|
1130
1130
|
Promote the package version with an alias that has spaces to released:
|
|
1131
1131
|
|
|
1132
|
-
$ sf package
|
|
1132
|
+
$ sf package version promote --package "Awesome Package Alias"
|
|
1133
1133
|
```
|
|
1134
1134
|
|
|
1135
|
-
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
1135
|
+
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/version/promote.ts)_
|
|
1136
1136
|
|
|
1137
|
-
## `sf package
|
|
1137
|
+
## `sf package version report`
|
|
1138
1138
|
|
|
1139
1139
|
Retrieve details about a package version in the Dev Hub org.
|
|
1140
1140
|
|
|
1141
1141
|
```
|
|
1142
1142
|
USAGE
|
|
1143
|
-
$ sf package
|
|
1143
|
+
$ sf package version report -v <value> -p <value> [--json] [--api-version <value>] [--verbose]
|
|
1144
1144
|
|
|
1145
1145
|
FLAGS
|
|
1146
1146
|
-p, --package=<value> (required) ID (starts with 04t) or alias of the package to retrieve details for.
|
|
@@ -1158,28 +1158,28 @@ DESCRIPTION
|
|
|
1158
1158
|
To update package version values, run "sf package version update".
|
|
1159
1159
|
|
|
1160
1160
|
ALIASES
|
|
1161
|
-
$ sf force
|
|
1161
|
+
$ sf force package version report
|
|
1162
1162
|
|
|
1163
1163
|
EXAMPLES
|
|
1164
1164
|
Retrieve details about the package version with the specified ID from your default Dev Hub org:
|
|
1165
1165
|
|
|
1166
|
-
$ sf package
|
|
1166
|
+
$ sf package version report --package 04t...
|
|
1167
1167
|
|
|
1168
1168
|
Retrieve details about the package version with the specified alias (that contains spaces) from the Dev Hub org with
|
|
1169
1169
|
username devhub@example.com:
|
|
1170
1170
|
|
|
1171
|
-
$ sf package
|
|
1171
|
+
$ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
|
|
1172
1172
|
```
|
|
1173
1173
|
|
|
1174
|
-
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
1174
|
+
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/version/report.ts)_
|
|
1175
1175
|
|
|
1176
|
-
## `sf package
|
|
1176
|
+
## `sf package version update`
|
|
1177
1177
|
|
|
1178
1178
|
Update a package version.
|
|
1179
1179
|
|
|
1180
1180
|
```
|
|
1181
1181
|
USAGE
|
|
1182
|
-
$ sf package
|
|
1182
|
+
$ sf package version update -v <value> -p <value> [--json] [--api-version <value>] [-a <value>] [-e <value>] [-b <value>]
|
|
1183
1183
|
[-t <value>] [-k <value>]
|
|
1184
1184
|
|
|
1185
1185
|
FLAGS
|
|
@@ -1204,25 +1204,25 @@ DESCRIPTION
|
|
|
1204
1204
|
To display details about a package version, run "sf package version display".
|
|
1205
1205
|
|
|
1206
1206
|
ALIASES
|
|
1207
|
-
$ sf force
|
|
1207
|
+
$ sf force package version update
|
|
1208
1208
|
|
|
1209
1209
|
EXAMPLES
|
|
1210
1210
|
Update the package version that has the specified alias (that contains spaces) with a new installation key
|
|
1211
1211
|
"password123"; uses your default Dev Hub org:
|
|
1212
1212
|
|
|
1213
|
-
$ sf package
|
|
1213
|
+
$ sf package version update --package "Your Package Alias" --installation-key password123
|
|
1214
1214
|
|
|
1215
1215
|
Update the package version that has the specified ID with a new branch and tag; use the Dev Hub org with username
|
|
1216
1216
|
devhub@example.com:
|
|
1217
1217
|
|
|
1218
|
-
$ sf package
|
|
1218
|
+
$ sf package version update --package 04t... --branch main --tag 'Release 1.0.7' --target-dev-hub \
|
|
1219
1219
|
devhub@example.com
|
|
1220
1220
|
|
|
1221
1221
|
Update the package version that has the specified ID with a new description:
|
|
1222
1222
|
|
|
1223
|
-
$ sf package
|
|
1223
|
+
$ sf package version update --package 04t... --version-description "New Package Version Description"
|
|
1224
1224
|
```
|
|
1225
1225
|
|
|
1226
|
-
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
1226
|
+
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.11/src/commands/package/version/update.ts)_
|
|
1227
1227
|
|
|
1228
1228
|
<!-- commandsstop -->
|