@salesforce/plugin-packaging 1.27.0 → 1.27.2
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 +50 -116
- package/lib/commands/package/convert.d.ts +9 -9
- package/lib/commands/package/convert.js +2 -2
- package/lib/commands/package/convert.js.map +1 -1
- package/lib/commands/package/create.d.ts +8 -8
- package/lib/commands/package/delete.d.ts +4 -4
- package/lib/commands/package/install/report.d.ts +4 -4
- package/lib/commands/package/install.d.ts +12 -13
- package/lib/commands/package/install.js.map +1 -1
- package/lib/commands/package/installed/list.d.ts +3 -3
- package/lib/commands/package/list.d.ts +3 -3
- package/lib/commands/package/uninstall/report.d.ts +4 -4
- package/lib/commands/package/uninstall.d.ts +5 -5
- package/lib/commands/package/update.d.ts +7 -7
- package/lib/commands/package/version/create/list.d.ts +5 -5
- package/lib/commands/package/version/create/report.d.ts +4 -4
- package/lib/commands/package/version/create/report.js +3 -1
- package/lib/commands/package/version/create/report.js.map +1 -1
- package/lib/commands/package/version/create.d.ts +19 -19
- package/lib/commands/package/version/create.js +2 -2
- package/lib/commands/package/version/create.js.map +1 -1
- package/lib/commands/package/version/delete.d.ts +4 -4
- package/lib/commands/package/version/displayancestry.d.ts +4 -4
- package/lib/commands/package/version/list.d.ts +7 -7
- package/lib/commands/package/version/list.js +2 -2
- package/lib/commands/package/version/list.js.map +1 -1
- package/lib/commands/package/version/promote.d.ts +4 -4
- package/lib/commands/package/version/report.d.ts +4 -4
- package/lib/commands/package/version/report.js +1 -1
- 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/update.d.ts +9 -9
- package/lib/commands/package1/version/create/get.d.ts +4 -4
- package/lib/commands/package1/version/create.d.ts +11 -11
- package/lib/commands/package1/version/display.d.ts +4 -4
- package/lib/commands/package1/version/list.d.ts +4 -4
- package/lib/utils/hubFlag.d.ts +1 -1
- package/oclif.lock +471 -547
- package/oclif.manifest.json +1 -192
- package/package.json +14 -37
package/README.md
CHANGED
|
@@ -59,8 +59,8 @@ Create a first-generation package version in the release org.
|
|
|
59
59
|
|
|
60
60
|
```
|
|
61
61
|
USAGE
|
|
62
|
-
$ sf package1:version:create -o <value> -i <value> -n <value> [--
|
|
63
|
-
|
|
62
|
+
$ sf package1:version:create -o <value> -i <value> -n <value> [--api-version <value>] [-d <value>] [-v <value>] [-m] [-r
|
|
63
|
+
<value>] [-p <value>] [-k <value>] [-w <value>]
|
|
64
64
|
|
|
65
65
|
FLAGS
|
|
66
66
|
-d, --description=<value> Package version description.
|
|
@@ -76,9 +76,6 @@ FLAGS
|
|
|
76
76
|
-w, --wait=<value> Minutes to wait for the package version to be created (default: 2 minutes).
|
|
77
77
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
78
78
|
|
|
79
|
-
GLOBAL FLAGS
|
|
80
|
-
--json Format output as json.
|
|
81
|
-
|
|
82
79
|
DESCRIPTION
|
|
83
80
|
Create a first-generation package version in the release org.
|
|
84
81
|
|
|
@@ -116,7 +113,7 @@ FLAG DESCRIPTIONS
|
|
|
116
113
|
subscribers.
|
|
117
114
|
```
|
|
118
115
|
|
|
119
|
-
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
116
|
+
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package1/version/create.ts)_
|
|
120
117
|
|
|
121
118
|
## `sf package1:version:create:get`
|
|
122
119
|
|
|
@@ -124,16 +121,13 @@ Retrieve the status of a package version creation request.
|
|
|
124
121
|
|
|
125
122
|
```
|
|
126
123
|
USAGE
|
|
127
|
-
$ sf package1:version:create:get -o <value> -i <value> [--
|
|
124
|
+
$ sf package1:version:create:get -o <value> -i <value> [--api-version <value>]
|
|
128
125
|
|
|
129
126
|
FLAGS
|
|
130
127
|
-i, --request-id=<value> (required) ID of the PackageUploadRequest (starts with 0HD).
|
|
131
128
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
132
129
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
133
130
|
|
|
134
|
-
GLOBAL FLAGS
|
|
135
|
-
--json Format output as json.
|
|
136
|
-
|
|
137
131
|
ALIASES
|
|
138
132
|
$ sf force:package1:version:create:get
|
|
139
133
|
|
|
@@ -147,7 +141,7 @@ EXAMPLES
|
|
|
147
141
|
$ sf package1:version:create:get --request-id 0HD... --target-org myorg@example.com
|
|
148
142
|
```
|
|
149
143
|
|
|
150
|
-
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
144
|
+
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package1/version/create/get.ts)_
|
|
151
145
|
|
|
152
146
|
## `sf package1:version:display`
|
|
153
147
|
|
|
@@ -155,7 +149,7 @@ Display details about a first-generation package version.
|
|
|
155
149
|
|
|
156
150
|
```
|
|
157
151
|
USAGE
|
|
158
|
-
$ sf package1:version:display -o <value> -i <value> [--
|
|
152
|
+
$ sf package1:version:display -o <value> -i <value> [--api-version <value>]
|
|
159
153
|
|
|
160
154
|
FLAGS
|
|
161
155
|
-i, --package-version-id=<value> (required) ID (starts with 04t) of the metadata package version whose details you
|
|
@@ -163,9 +157,6 @@ FLAGS
|
|
|
163
157
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
164
158
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
165
159
|
|
|
166
|
-
GLOBAL FLAGS
|
|
167
|
-
--json Format output as json.
|
|
168
|
-
|
|
169
160
|
ALIASES
|
|
170
161
|
$ sf force:package1:version:display
|
|
171
162
|
|
|
@@ -179,7 +170,7 @@ EXAMPLES
|
|
|
179
170
|
$ sf package1:version:display --package-version-id 04t... --target-org myorg@example.com
|
|
180
171
|
```
|
|
181
172
|
|
|
182
|
-
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
173
|
+
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package1/version/display.ts)_
|
|
183
174
|
|
|
184
175
|
## `sf package1:version:list`
|
|
185
176
|
|
|
@@ -187,16 +178,13 @@ List package versions for the specified first-generation package or for the org.
|
|
|
187
178
|
|
|
188
179
|
```
|
|
189
180
|
USAGE
|
|
190
|
-
$ sf package1:version:list -o <value> [--
|
|
181
|
+
$ sf package1:version:list -o <value> [--api-version <value>] [-i <value>]
|
|
191
182
|
|
|
192
183
|
FLAGS
|
|
193
184
|
-i, --package-id=<value> Metadata package ID (starts with 033) whose package versions you want to list.
|
|
194
185
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
195
186
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
196
187
|
|
|
197
|
-
GLOBAL FLAGS
|
|
198
|
-
--json Format output as json.
|
|
199
|
-
|
|
200
188
|
ALIASES
|
|
201
189
|
$ sf force:package1:version:list
|
|
202
190
|
|
|
@@ -215,7 +203,7 @@ FLAG DESCRIPTIONS
|
|
|
215
203
|
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
|
|
216
204
|
```
|
|
217
205
|
|
|
218
|
-
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
206
|
+
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package1/version/list.ts)_
|
|
219
207
|
|
|
220
208
|
## `sf package:create`
|
|
221
209
|
|
|
@@ -223,8 +211,8 @@ Create a package.
|
|
|
223
211
|
|
|
224
212
|
```
|
|
225
213
|
USAGE
|
|
226
|
-
$ sf package:create -v <value> -n <value> -t Managed|Unlocked -r <value> [--
|
|
227
|
-
|
|
214
|
+
$ sf package:create -v <value> -n <value> -t Managed|Unlocked -r <value> [--api-version <value>] [-d <value>] [-e]
|
|
215
|
+
[--org-dependent] [-o <value>]
|
|
228
216
|
|
|
229
217
|
FLAGS
|
|
230
218
|
-d, --description=<value> Description of the package.
|
|
@@ -240,9 +228,6 @@ FLAGS
|
|
|
240
228
|
--org-dependent Depends on unpackaged metadata in the installation org; applies to unlocked
|
|
241
229
|
packages only.
|
|
242
230
|
|
|
243
|
-
GLOBAL FLAGS
|
|
244
|
-
--json Format output as json.
|
|
245
|
-
|
|
246
231
|
DESCRIPTION
|
|
247
232
|
Create a package.
|
|
248
233
|
|
|
@@ -292,7 +277,7 @@ FLAG DESCRIPTIONS
|
|
|
292
277
|
Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
|
|
293
278
|
```
|
|
294
279
|
|
|
295
|
-
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
280
|
+
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/create.ts)_
|
|
296
281
|
|
|
297
282
|
## `sf package:delete`
|
|
298
283
|
|
|
@@ -300,7 +285,7 @@ Delete a package.
|
|
|
300
285
|
|
|
301
286
|
```
|
|
302
287
|
USAGE
|
|
303
|
-
$ sf package:delete -v <value> -p <value> [--
|
|
288
|
+
$ sf package:delete -v <value> -p <value> [--api-version <value>] [-n]
|
|
304
289
|
|
|
305
290
|
FLAGS
|
|
306
291
|
-n, --no-prompt Don’t prompt before deleting the package.
|
|
@@ -308,9 +293,6 @@ FLAGS
|
|
|
308
293
|
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org.
|
|
309
294
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
310
295
|
|
|
311
|
-
GLOBAL FLAGS
|
|
312
|
-
--json Format output as json.
|
|
313
|
-
|
|
314
296
|
DESCRIPTION
|
|
315
297
|
Delete a package.
|
|
316
298
|
|
|
@@ -332,7 +314,7 @@ EXAMPLES
|
|
|
332
314
|
$ sf package:delete --package 0Ho... --target-dev-hub devhub@example.com
|
|
333
315
|
```
|
|
334
316
|
|
|
335
|
-
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
317
|
+
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/delete.ts)_
|
|
336
318
|
|
|
337
319
|
## `sf package:install`
|
|
338
320
|
|
|
@@ -340,8 +322,8 @@ Install a version of a package in the target org.
|
|
|
340
322
|
|
|
341
323
|
```
|
|
342
324
|
USAGE
|
|
343
|
-
$ sf package:install -o <value> -p <value> [--
|
|
344
|
-
|
|
325
|
+
$ sf package:install -o <value> -p <value> [--api-version <value>] [-w <value>] [-k <value>] [-b <value>] [-r] [-a
|
|
326
|
+
all|package] [-s AllUsers|AdminsOnly] [-t DeprecateOnly|Mixed|Delete]
|
|
345
327
|
|
|
346
328
|
FLAGS
|
|
347
329
|
-a, --apex-compile=<option> [default: all] Compile all Apex in the org and package, or only Apex in the package;
|
|
@@ -363,9 +345,6 @@ FLAGS
|
|
|
363
345
|
-w, --wait=<value> [default: 0 minutes] Number of minutes to wait for installation status.
|
|
364
346
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
365
347
|
|
|
366
|
-
GLOBAL FLAGS
|
|
367
|
-
--json Format output as json.
|
|
368
|
-
|
|
369
348
|
DESCRIPTION
|
|
370
349
|
Install a version of a package in the target org.
|
|
371
350
|
|
|
@@ -428,7 +407,7 @@ FLAG DESCRIPTIONS
|
|
|
428
407
|
specify DeprecateOnly or Delete only for unlocked package upgrades.
|
|
429
408
|
```
|
|
430
409
|
|
|
431
|
-
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
410
|
+
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/install.ts)_
|
|
432
411
|
|
|
433
412
|
## `sf package:install:report`
|
|
434
413
|
|
|
@@ -436,16 +415,13 @@ Retrieve the status of a package installation request.
|
|
|
436
415
|
|
|
437
416
|
```
|
|
438
417
|
USAGE
|
|
439
|
-
$ sf package:install:report -o <value> -i <value> [--
|
|
418
|
+
$ sf package:install:report -o <value> -i <value> [--api-version <value>]
|
|
440
419
|
|
|
441
420
|
FLAGS
|
|
442
421
|
-i, --request-id=<value> (required) ID of the package install request you want to check; starts with 0Hf.
|
|
443
422
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
444
423
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
445
424
|
|
|
446
|
-
GLOBAL FLAGS
|
|
447
|
-
--json Format output as json.
|
|
448
|
-
|
|
449
425
|
ALIASES
|
|
450
426
|
$ sf force:package:install:report
|
|
451
427
|
|
|
@@ -459,7 +435,7 @@ EXAMPLES
|
|
|
459
435
|
$ sf package:install:report --request-id 0Hf... --target-org me@example.com
|
|
460
436
|
```
|
|
461
437
|
|
|
462
|
-
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
438
|
+
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/install/report.ts)_
|
|
463
439
|
|
|
464
440
|
## `sf package:installed:list`
|
|
465
441
|
|
|
@@ -467,15 +443,12 @@ List the org’s installed packages.
|
|
|
467
443
|
|
|
468
444
|
```
|
|
469
445
|
USAGE
|
|
470
|
-
$ sf package:installed:list -o <value> [--
|
|
446
|
+
$ sf package:installed:list -o <value> [--api-version <value>]
|
|
471
447
|
|
|
472
448
|
FLAGS
|
|
473
449
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
474
450
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
475
451
|
|
|
476
|
-
GLOBAL FLAGS
|
|
477
|
-
--json Format output as json.
|
|
478
|
-
|
|
479
452
|
ALIASES
|
|
480
453
|
$ sf force:package:installed:list
|
|
481
454
|
|
|
@@ -489,7 +462,7 @@ EXAMPLES
|
|
|
489
462
|
$ sf package:installed:list --target-org me@example.com
|
|
490
463
|
```
|
|
491
464
|
|
|
492
|
-
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
465
|
+
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/installed/list.ts)_
|
|
493
466
|
|
|
494
467
|
## `sf package:list`
|
|
495
468
|
|
|
@@ -497,16 +470,13 @@ List all packages in the Dev Hub org.
|
|
|
497
470
|
|
|
498
471
|
```
|
|
499
472
|
USAGE
|
|
500
|
-
$ sf package:list -v <value> [--
|
|
473
|
+
$ sf package:list -v <value> [--api-version <value>] [--verbose]
|
|
501
474
|
|
|
502
475
|
FLAGS
|
|
503
476
|
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org.
|
|
504
477
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
505
478
|
--verbose Display extended package detail.
|
|
506
479
|
|
|
507
|
-
GLOBAL FLAGS
|
|
508
|
-
--json Format output as json.
|
|
509
|
-
|
|
510
480
|
DESCRIPTION
|
|
511
481
|
List all packages in the Dev Hub org.
|
|
512
482
|
|
|
@@ -525,7 +495,7 @@ EXAMPLES
|
|
|
525
495
|
$ sf package:list --target-dev-hub devhub@example.com --verbose
|
|
526
496
|
```
|
|
527
497
|
|
|
528
|
-
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
498
|
+
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/list.ts)_
|
|
529
499
|
|
|
530
500
|
## `sf package:uninstall`
|
|
531
501
|
|
|
@@ -533,7 +503,7 @@ Uninstall a second-generation package from the target org.
|
|
|
533
503
|
|
|
534
504
|
```
|
|
535
505
|
USAGE
|
|
536
|
-
$ sf package:uninstall -o <value> -p <value> [--
|
|
506
|
+
$ sf package:uninstall -o <value> -p <value> [--api-version <value>] [-w <value>]
|
|
537
507
|
|
|
538
508
|
FLAGS
|
|
539
509
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
@@ -541,9 +511,6 @@ FLAGS
|
|
|
541
511
|
-w, --wait=<value> [default: 0 minutes] Number of minutes to wait for uninstall status.
|
|
542
512
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
543
513
|
|
|
544
|
-
GLOBAL FLAGS
|
|
545
|
-
--json Format output as json.
|
|
546
|
-
|
|
547
514
|
DESCRIPTION
|
|
548
515
|
Uninstall a second-generation package from the target org.
|
|
549
516
|
|
|
@@ -571,7 +538,7 @@ EXAMPLES
|
|
|
571
538
|
$ sf package:uninstall --package "Undesirable Package Alias"
|
|
572
539
|
```
|
|
573
540
|
|
|
574
|
-
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
541
|
+
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/uninstall.ts)_
|
|
575
542
|
|
|
576
543
|
## `sf package:uninstall:report`
|
|
577
544
|
|
|
@@ -579,16 +546,13 @@ Retrieve the status of a package uninstall request.
|
|
|
579
546
|
|
|
580
547
|
```
|
|
581
548
|
USAGE
|
|
582
|
-
$ sf package:uninstall:report -o <value> -i <value> [--
|
|
549
|
+
$ sf package:uninstall:report -o <value> -i <value> [--api-version <value>]
|
|
583
550
|
|
|
584
551
|
FLAGS
|
|
585
552
|
-i, --request-id=<value> (required) ID of the package uninstall request you want to check; starts with 06y.
|
|
586
553
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
587
554
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
588
555
|
|
|
589
|
-
GLOBAL FLAGS
|
|
590
|
-
--json Format output as json.
|
|
591
|
-
|
|
592
556
|
ALIASES
|
|
593
557
|
$ sf force:package:uninstall:report
|
|
594
558
|
|
|
@@ -602,7 +566,7 @@ EXAMPLES
|
|
|
602
566
|
$ sf package:uninstall:report --request-id 06y... --target-org me@example.com
|
|
603
567
|
```
|
|
604
568
|
|
|
605
|
-
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
569
|
+
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/uninstall/report.ts)_
|
|
606
570
|
|
|
607
571
|
## `sf package:update`
|
|
608
572
|
|
|
@@ -610,7 +574,7 @@ Update package details.
|
|
|
610
574
|
|
|
611
575
|
```
|
|
612
576
|
USAGE
|
|
613
|
-
$ sf package:update -v <value> -p <value> [--
|
|
577
|
+
$ sf package:update -v <value> -p <value> [--api-version <value>] [-n <value>] [-d <value>] [-o <value>]
|
|
614
578
|
[--enable-app-analytics]
|
|
615
579
|
|
|
616
580
|
FLAGS
|
|
@@ -624,9 +588,6 @@ FLAGS
|
|
|
624
588
|
--[no-]enable-app-analytics Enable AppExchange App Analytics usage data collection on this managed
|
|
625
589
|
package and its components.
|
|
626
590
|
|
|
627
|
-
GLOBAL FLAGS
|
|
628
|
-
--json Format output as json.
|
|
629
|
-
|
|
630
591
|
DESCRIPTION
|
|
631
592
|
Update package details.
|
|
632
593
|
|
|
@@ -655,7 +616,7 @@ FLAG DESCRIPTIONS
|
|
|
655
616
|
associated with your package.
|
|
656
617
|
```
|
|
657
618
|
|
|
658
|
-
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
619
|
+
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/update.ts)_
|
|
659
620
|
|
|
660
621
|
## `sf package:version:create`
|
|
661
622
|
|
|
@@ -663,8 +624,8 @@ Create a package version in the Dev Hub org.
|
|
|
663
624
|
|
|
664
625
|
```
|
|
665
626
|
USAGE
|
|
666
|
-
$ sf package:version:create -v <value> [--
|
|
667
|
-
|
|
627
|
+
$ sf package:version:create -v <value> [--api-version <value>] [-b <value>] [-c | --skip-validation] [-f <value>] [-k
|
|
628
|
+
<value>] [-x] [-p <value>] [-d <value>] [--post-install-script <value>] [--post-install-url <value>]
|
|
668
629
|
[--releasenotes-url <value>] [--skip-ancestor-check] [-t <value>] [--uninstall-script <value>] [-e <value>] [-a
|
|
669
630
|
<value>] [-n <value>] [-w <value>] [--language <value>] [--verbose]
|
|
670
631
|
|
|
@@ -703,9 +664,6 @@ FLAGS
|
|
|
703
664
|
--uninstall-script=<value> Uninstall script name; applies to managed packages only.
|
|
704
665
|
--verbose Display verbose command output.
|
|
705
666
|
|
|
706
|
-
GLOBAL FLAGS
|
|
707
|
-
--json Format output as json.
|
|
708
|
-
|
|
709
667
|
DESCRIPTION
|
|
710
668
|
Create a package version in the Dev Hub org.
|
|
711
669
|
|
|
@@ -809,7 +767,7 @@ FLAG DESCRIPTIONS
|
|
|
809
767
|
periods of no output from commands.
|
|
810
768
|
```
|
|
811
769
|
|
|
812
|
-
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
770
|
+
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/version/create.ts)_
|
|
813
771
|
|
|
814
772
|
## `sf package:version:create:list`
|
|
815
773
|
|
|
@@ -817,7 +775,7 @@ List package version creation requests.
|
|
|
817
775
|
|
|
818
776
|
```
|
|
819
777
|
USAGE
|
|
820
|
-
$ sf package:version:create:list -v <value> [--
|
|
778
|
+
$ sf package:version:create:list -v <value> [--api-version <value>] [-c <value>] [-s Queued|InProgress|Success|Error]
|
|
821
779
|
[--show-conversions-only] [--verbose]
|
|
822
780
|
|
|
823
781
|
FLAGS
|
|
@@ -831,9 +789,6 @@ FLAGS
|
|
|
831
789
|
--verbose Displays additional information at a slight performance cost, such as the version
|
|
832
790
|
name and number for each package version create request.
|
|
833
791
|
|
|
834
|
-
GLOBAL FLAGS
|
|
835
|
-
--json Format output as json.
|
|
836
|
-
|
|
837
792
|
DESCRIPTION
|
|
838
793
|
List package version creation requests.
|
|
839
794
|
|
|
@@ -868,7 +823,7 @@ EXAMPLES
|
|
|
868
823
|
$ sf package:version:create:list --created-last-days 0 --status Success
|
|
869
824
|
```
|
|
870
825
|
|
|
871
|
-
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
826
|
+
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/version/create/list.ts)_
|
|
872
827
|
|
|
873
828
|
## `sf package:version:create:report`
|
|
874
829
|
|
|
@@ -876,7 +831,7 @@ Retrieve details about a package version creation request.
|
|
|
876
831
|
|
|
877
832
|
```
|
|
878
833
|
USAGE
|
|
879
|
-
$ sf package:version:create:report -v <value> -i <value> [--
|
|
834
|
+
$ sf package:version:create:report -v <value> -i <value> [--api-version <value>]
|
|
880
835
|
|
|
881
836
|
FLAGS
|
|
882
837
|
-i, --package-create-request-id=<value> (required) ID (starts with 08c) of the package version creation request you
|
|
@@ -884,9 +839,6 @@ FLAGS
|
|
|
884
839
|
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org.
|
|
885
840
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
886
841
|
|
|
887
|
-
GLOBAL FLAGS
|
|
888
|
-
--json Format output as json.
|
|
889
|
-
|
|
890
842
|
DESCRIPTION
|
|
891
843
|
Retrieve details about a package version creation request.
|
|
892
844
|
|
|
@@ -909,7 +861,7 @@ EXAMPLES
|
|
|
909
861
|
$ sf package:version:create:report --package-create-request-id 08c... --target-dev-hub devhub@example.com
|
|
910
862
|
```
|
|
911
863
|
|
|
912
|
-
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
864
|
+
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/version/create/report.ts)_
|
|
913
865
|
|
|
914
866
|
## `sf package:version:delete`
|
|
915
867
|
|
|
@@ -917,7 +869,7 @@ Delete a package version.
|
|
|
917
869
|
|
|
918
870
|
```
|
|
919
871
|
USAGE
|
|
920
|
-
$ sf package:version:delete -v <value> -p <value> [--
|
|
872
|
+
$ sf package:version:delete -v <value> -p <value> [--api-version <value>] [-n]
|
|
921
873
|
|
|
922
874
|
FLAGS
|
|
923
875
|
-n, --no-prompt Don’t prompt before deleting the package version.
|
|
@@ -925,9 +877,6 @@ FLAGS
|
|
|
925
877
|
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org.
|
|
926
878
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
927
879
|
|
|
928
|
-
GLOBAL FLAGS
|
|
929
|
-
--json Format output as json.
|
|
930
|
-
|
|
931
880
|
DESCRIPTION
|
|
932
881
|
Delete a package version.
|
|
933
882
|
|
|
@@ -946,7 +895,7 @@ EXAMPLES
|
|
|
946
895
|
$ sf package:version:delete --package 04t... --target-org devhub@example.com
|
|
947
896
|
```
|
|
948
897
|
|
|
949
|
-
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
898
|
+
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/version/delete.ts)_
|
|
950
899
|
|
|
951
900
|
## `sf package:version:displayancestry`
|
|
952
901
|
|
|
@@ -954,7 +903,7 @@ Display the ancestry tree for a 2GP managed package version.
|
|
|
954
903
|
|
|
955
904
|
```
|
|
956
905
|
USAGE
|
|
957
|
-
$ sf package:version:displayancestry -v <value> -p <value> [--
|
|
906
|
+
$ sf package:version:displayancestry -v <value> -p <value> [--api-version <value>] [--dot-code] [--verbose]
|
|
958
907
|
|
|
959
908
|
FLAGS
|
|
960
909
|
-p, --package=<value> (required) ID or alias of the package (starts with 0Ho) or package version (starts with
|
|
@@ -965,9 +914,6 @@ FLAGS
|
|
|
965
914
|
--verbose Display both the package version ID (starts with 04t) and the version number
|
|
966
915
|
(major.minor.patch.build) in the ancestry tree.
|
|
967
916
|
|
|
968
|
-
GLOBAL FLAGS
|
|
969
|
-
--json Format output as json.
|
|
970
|
-
|
|
971
917
|
ALIASES
|
|
972
918
|
$ sf force:package:version:displayancestry
|
|
973
919
|
|
|
@@ -1003,7 +949,7 @@ FLAG DESCRIPTIONS
|
|
|
1003
949
|
You can use the DOT code output in graph visualization software to create tree visualizations.
|
|
1004
950
|
```
|
|
1005
951
|
|
|
1006
|
-
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
952
|
+
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/version/displayancestry.ts)_
|
|
1007
953
|
|
|
1008
954
|
## `sf package:version:list`
|
|
1009
955
|
|
|
@@ -1011,8 +957,8 @@ List all package versions in the Dev Hub org.
|
|
|
1011
957
|
|
|
1012
958
|
```
|
|
1013
959
|
USAGE
|
|
1014
|
-
$ sf package:version:list -v <value> [--
|
|
1015
|
-
|
|
960
|
+
$ sf package:version:list -v <value> [--api-version <value>] [-c <value>] [--concise] [--show-conversions-only] [-m
|
|
961
|
+
<value>] [-p <value>] [-r] [-o <value>] [--verbose]
|
|
1016
962
|
|
|
1017
963
|
FLAGS
|
|
1018
964
|
-c, --created-last-days=<value> Number of days since the request was created, starting at 00:00:00 of first day to
|
|
@@ -1028,9 +974,6 @@ FLAGS
|
|
|
1028
974
|
--show-conversions-only Filter the list output to display only converted package version.
|
|
1029
975
|
--verbose Display extended package version details.
|
|
1030
976
|
|
|
1031
|
-
GLOBAL FLAGS
|
|
1032
|
-
--json Format output as json.
|
|
1033
|
-
|
|
1034
977
|
DESCRIPTION
|
|
1035
978
|
List all package versions in the Dev Hub org.
|
|
1036
979
|
|
|
@@ -1070,7 +1013,7 @@ EXAMPLES
|
|
|
1070
1013
|
$ sf package:version:list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
|
|
1071
1014
|
```
|
|
1072
1015
|
|
|
1073
|
-
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
1016
|
+
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/version/list.ts)_
|
|
1074
1017
|
|
|
1075
1018
|
## `sf package:version:promote`
|
|
1076
1019
|
|
|
@@ -1078,7 +1021,7 @@ Promote a package version to released.
|
|
|
1078
1021
|
|
|
1079
1022
|
```
|
|
1080
1023
|
USAGE
|
|
1081
|
-
$ sf package:version:promote -v <value> -p <value> [--
|
|
1024
|
+
$ sf package:version:promote -v <value> -p <value> [--api-version <value>] [-n]
|
|
1082
1025
|
|
|
1083
1026
|
FLAGS
|
|
1084
1027
|
-n, --no-prompt Don't prompt to confirm setting the package version as released.
|
|
@@ -1086,9 +1029,6 @@ FLAGS
|
|
|
1086
1029
|
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org.
|
|
1087
1030
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
1088
1031
|
|
|
1089
|
-
GLOBAL FLAGS
|
|
1090
|
-
--json Format output as json.
|
|
1091
|
-
|
|
1092
1032
|
DESCRIPTION
|
|
1093
1033
|
Promote a package version to released.
|
|
1094
1034
|
|
|
@@ -1112,7 +1052,7 @@ EXAMPLES
|
|
|
1112
1052
|
$ sf package:version:promote --package "Awesome Package Alias"
|
|
1113
1053
|
```
|
|
1114
1054
|
|
|
1115
|
-
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
1055
|
+
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/version/promote.ts)_
|
|
1116
1056
|
|
|
1117
1057
|
## `sf package:version:report`
|
|
1118
1058
|
|
|
@@ -1120,7 +1060,7 @@ Retrieve details about a package version in the Dev Hub org.
|
|
|
1120
1060
|
|
|
1121
1061
|
```
|
|
1122
1062
|
USAGE
|
|
1123
|
-
$ sf package:version:report -v <value> -p <value> [--
|
|
1063
|
+
$ sf package:version:report -v <value> -p <value> [--api-version <value>] [--verbose]
|
|
1124
1064
|
|
|
1125
1065
|
FLAGS
|
|
1126
1066
|
-p, --package=<value> (required) ID (starts with 04t) or alias of the package to retrieve details for.
|
|
@@ -1128,9 +1068,6 @@ FLAGS
|
|
|
1128
1068
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
1129
1069
|
--verbose Display extended package version details.
|
|
1130
1070
|
|
|
1131
|
-
GLOBAL FLAGS
|
|
1132
|
-
--json Format output as json.
|
|
1133
|
-
|
|
1134
1071
|
DESCRIPTION
|
|
1135
1072
|
Retrieve details about a package version in the Dev Hub org.
|
|
1136
1073
|
|
|
@@ -1150,7 +1087,7 @@ EXAMPLES
|
|
|
1150
1087
|
$ sf package:version:report --package "Your Package Alias" --target-dev-hub devhub@example.com
|
|
1151
1088
|
```
|
|
1152
1089
|
|
|
1153
|
-
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
1090
|
+
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/version/report.ts)_
|
|
1154
1091
|
|
|
1155
1092
|
## `sf package:version:update`
|
|
1156
1093
|
|
|
@@ -1158,8 +1095,8 @@ Update a package version.
|
|
|
1158
1095
|
|
|
1159
1096
|
```
|
|
1160
1097
|
USAGE
|
|
1161
|
-
$ sf package:version:update -v <value> -p <value> [--
|
|
1162
|
-
|
|
1098
|
+
$ sf package:version:update -v <value> -p <value> [--api-version <value>] [-a <value>] [-e <value>] [-b <value>] [-t
|
|
1099
|
+
<value>] [-k <value>]
|
|
1163
1100
|
|
|
1164
1101
|
FLAGS
|
|
1165
1102
|
-a, --version-name=<value> New package version name.
|
|
@@ -1171,9 +1108,6 @@ FLAGS
|
|
|
1171
1108
|
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org.
|
|
1172
1109
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
1173
1110
|
|
|
1174
|
-
GLOBAL FLAGS
|
|
1175
|
-
--json Format output as json.
|
|
1176
|
-
|
|
1177
1111
|
DESCRIPTION
|
|
1178
1112
|
Update a package version.
|
|
1179
1113
|
|
|
@@ -1201,6 +1135,6 @@ EXAMPLES
|
|
|
1201
1135
|
$ sf package:version:update --package 04t... --version-description "New Package Version Description"
|
|
1202
1136
|
```
|
|
1203
1137
|
|
|
1204
|
-
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.
|
|
1138
|
+
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/1.27.2/src/commands/package/version/update.ts)_
|
|
1205
1139
|
|
|
1206
1140
|
<!-- commandsstop -->
|
|
@@ -9,16 +9,16 @@ export declare class PackageConvert extends SfCommand<PackageVersionCreateReques
|
|
|
9
9
|
static readonly aliases: string[];
|
|
10
10
|
static readonly hidden = true;
|
|
11
11
|
static readonly flags: {
|
|
12
|
-
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces
|
|
13
|
-
'target-dev-hub': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces
|
|
14
|
-
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces
|
|
15
|
-
package: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces
|
|
16
|
-
'installation-key': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces
|
|
17
|
-
'definition-file': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces
|
|
12
|
+
loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
13
|
+
'target-dev-hub': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
14
|
+
'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
15
|
+
package: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
16
|
+
'installation-key': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
17
|
+
'definition-file': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
18
18
|
'installation-key-bypass': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
19
|
-
wait: import("@oclif/core/lib/interfaces").OptionFlag<Duration, import("@oclif/core/lib/interfaces
|
|
20
|
-
'build-instance': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces
|
|
21
|
-
'seed-metadata': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces
|
|
19
|
+
wait: import("@oclif/core/lib/interfaces").OptionFlag<Duration, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
20
|
+
'build-instance': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
21
|
+
'seed-metadata': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
22
22
|
verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
23
23
|
};
|
|
24
24
|
run(): Promise<PackageVersionCreateRequestResult>;
|
|
@@ -53,10 +53,10 @@ class PackageConvert extends sf_plugins_core_1.SfCommand {
|
|
|
53
53
|
seedMetadata: flags['seed-metadata'],
|
|
54
54
|
}, project);
|
|
55
55
|
switch (result.Status) {
|
|
56
|
-
case '
|
|
56
|
+
case packaging_1.PackagingSObjects['Package2VersionStatus'].error:
|
|
57
57
|
this.spinner.stop();
|
|
58
58
|
throw new core_1.SfError(result.Error?.join('\n') ?? pvcMessages.getMessage('unknownError'));
|
|
59
|
-
case '
|
|
59
|
+
case packaging_1.PackagingSObjects['Package2VersionStatus'].success: {
|
|
60
60
|
const successMessage = pvcMessages.getMessage(result.Status, [
|
|
61
61
|
result.Id,
|
|
62
62
|
result.SubscriberPackageVersionId,
|