@salesforce/plugin-packaging 1.2.0 → 1.2.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/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ## 1.2.0 (2022-08-19)
5
+ ### 1.2.1 (2022-08-22)
6
6
 
7
7
  ### Features
8
8
 
@@ -19,6 +19,7 @@ All notable changes to this project will be documented in this file. See [standa
19
19
  - add package1:version:list command, UTs, NUTs ([ecfbcd4](https://github.com/salesforcecli/plugin-packaging/commit/ecfbcd4aa1152bacbf99728f55599ab1be8a21f4))
20
20
  - add pvr and pvcr ([79d27cf](https://github.com/salesforcecli/plugin-packaging/commit/79d27cf4883590f11459328c451787df20433cd9))
21
21
  - adds unit tests and NUTs ([24dbd52](https://github.com/salesforcecli/plugin-packaging/commit/24dbd524aadd923f253dd3d83d46aef50cb638b6))
22
+ - bump packaging library ([759b31e](https://github.com/salesforcecli/plugin-packaging/commit/759b31e5e5fa7de1f13c08f29ae055d15fb36571))
22
23
  - bump version number to 1.1.1 ([d472ff1](https://github.com/salesforcecli/plugin-packaging/commit/d472ff16f8733d287896e290515524461560babb))
23
24
  - bump version of package lib ([5a93522](https://github.com/salesforcecli/plugin-packaging/commit/5a9352229831f14cda22568101675e22e1618543))
24
25
  - lint fixes ([ac8cceb](https://github.com/salesforcecli/plugin-packaging/commit/ac8cceb91b76b90671acc6029c3329390b34b9aa))
package/README.md CHANGED
@@ -81,7 +81,7 @@ sfdx plugins
81
81
  - [`sfdx force:package:beta:uninstall [-w <minutes>] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetauninstall--w-minutes--p-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
82
82
  - [`sfdx force:package:beta:uninstall:report -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetauninstallreport--i-id--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
83
83
  - [`sfdx force:package:beta:update -p <string> [-n <string>] [-d <string>] [-o <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetaupdate--p-string--n-string--d-string--o-string--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
84
- - [`sfdx force:package:beta:version:create [-p <string>] [-d <directory>] [-f <filepath>] [-b <string>] [-t <string>] [-k <string>] [-x] [-w <minutes>] [-a <string>] [-n <string>] [-e <string>] [-c] [--releasenotesurl <url>] [--postinstallurl <url>] [--postinstallscript <string>] [--uninstallscript <string>] [--skipvalidation] [--skipancestorcheck] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetaversioncreate--p-string--d-directory--f-filepath--b-string--t-string--k-string--x--w-minutes--a-string--n-string--e-string--c---releasenotesurl-url---postinstallurl-url---postinstallscript-string---uninstallscript-string---skipvalidation---skipancestorcheck--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
84
+ - [`sfdx force:package:beta:version:create [-b <string>] [-c | --skipvalidation] [-f <filepath>] [-k <string>] [-x] [-p <string>] [-d <directory>] [--postinstallscript <string>] [--postinstallurl <url>] [--releasenotesurl <url>] [--skipancestorcheck] [-t <string>] [--uninstallscript <string>] [-e <string>] [-a <string>] [-n <string>] [-w <minutes>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetaversioncreate--b-string--c----skipvalidation--f-filepath--k-string--x--p-string--d-directory---postinstallscript-string---postinstallurl-url---releasenotesurl-url---skipancestorcheck--t-string---uninstallscript-string--e-string--a-string--n-string--w-minutes--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
85
85
  - [`sfdx force:package:beta:version:create:list [-c <number>] [-s Queued|InProgress|Success|Error] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetaversioncreatelist--c-number--s-queuedinprogresssuccesserror--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
86
86
  - [`sfdx force:package:beta:version:create:report -i <id> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetaversioncreatereport--i-id--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
87
87
  - [`sfdx force:package:beta:version:delete -p <string> [-n] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetaversiondelete--p-string--n--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
@@ -129,7 +129,7 @@ DESCRIPTION
129
129
  create a first-generation package version in the release org
130
130
  ```
131
131
 
132
- _See code: [src/commands/force/package1/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package1/beta/version/create.ts)_
132
+ _See code: [src/commands/force/package1/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package1/beta/version/create.ts)_
133
133
 
134
134
  ## `sfdx force:package1:beta:version:create:get -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
135
135
 
@@ -161,7 +161,7 @@ EXAMPLES
161
161
  $ sfdx force:package1:version:create:get -i 0HD... -u devhub@example.com
162
162
  ```
163
163
 
164
- _See code: [src/commands/force/package1/beta/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package1/beta/version/create/get.ts)_
164
+ _See code: [src/commands/force/package1/beta/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package1/beta/version/create/get.ts)_
165
165
 
166
166
  ## `sfdx force:package1:beta:version:display -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
167
167
 
@@ -187,7 +187,7 @@ DESCRIPTION
187
187
  display details about a first-generation package version
188
188
  ```
189
189
 
190
- _See code: [src/commands/force/package1/beta/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package1/beta/version/display.ts)_
190
+ _See code: [src/commands/force/package1/beta/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package1/beta/version/display.ts)_
191
191
 
192
192
  ## `sfdx force:package1:beta:version:list [-i <id>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
193
193
 
@@ -213,7 +213,7 @@ DESCRIPTION
213
213
  list package versions for the specified first-generation package or for the org
214
214
  ```
215
215
 
216
- _See code: [src/commands/force/package1/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package1/beta/version/list.ts)_
216
+ _See code: [src/commands/force/package1/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package1/beta/version/list.ts)_
217
217
 
218
218
  ## `sfdx force:package:beta:create -n <string> -t Managed|Unlocked -r <directory> [-d <string>] [-e] [--orgdependent] [-o <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
219
219
 
@@ -252,7 +252,7 @@ DESCRIPTION
252
252
  create a package
253
253
  ```
254
254
 
255
- _See code: [src/commands/force/package/beta/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/create.ts)_
255
+ _See code: [src/commands/force/package/beta/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/create.ts)_
256
256
 
257
257
  ## `sfdx force:package:beta:delete -p <string> [-n] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
258
258
 
@@ -280,7 +280,7 @@ DESCRIPTION
280
280
  delete a package
281
281
  ```
282
282
 
283
- _See code: [src/commands/force/package/beta/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/delete.ts)_
283
+ _See code: [src/commands/force/package/beta/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/delete.ts)_
284
284
 
285
285
  ## `sfdx force:package:beta:install -p <string> [-w <minutes>] [-k <string>] [-b <minutes>] [-r] [-a all|package] [-s AllUsers|AdminsOnly] [-t DeprecateOnly|Mixed|Delete] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
286
286
 
@@ -334,7 +334,7 @@ DESCRIPTION
334
334
  install a package in the target org
335
335
  ```
336
336
 
337
- _See code: [src/commands/force/package/beta/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/install.ts)_
337
+ _See code: [src/commands/force/package/beta/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/install.ts)_
338
338
 
339
339
  ## `sfdx force:package:beta:install:report -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
340
340
 
@@ -360,7 +360,7 @@ DESCRIPTION
360
360
  retrieve the status of a package installation request
361
361
  ```
362
362
 
363
- _See code: [src/commands/force/package/beta/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/install/report.ts)_
363
+ _See code: [src/commands/force/package/beta/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/install/report.ts)_
364
364
 
365
365
  ## `sfdx force:package:beta:installed:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
366
366
 
@@ -389,7 +389,7 @@ EXAMPLES
389
389
  $ sfdx force:package:installed:list -u me@example.com
390
390
  ```
391
391
 
392
- _See code: [src/commands/force/package/beta/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/installed/list.ts)_
392
+ _See code: [src/commands/force/package/beta/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/installed/list.ts)_
393
393
 
394
394
  ## `sfdx force:package:beta:list [-v <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
395
395
 
@@ -414,7 +414,7 @@ DESCRIPTION
414
414
  list all packages in the Dev Hub org
415
415
  ```
416
416
 
417
- _See code: [src/commands/force/package/beta/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/list.ts)_
417
+ _See code: [src/commands/force/package/beta/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/list.ts)_
418
418
 
419
419
  ## `sfdx force:package:beta:uninstall [-w <minutes>] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
420
420
 
@@ -442,7 +442,7 @@ DESCRIPTION
442
442
  uninstall a second-generation package from the target org
443
443
  ```
444
444
 
445
- _See code: [src/commands/force/package/beta/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/uninstall.ts)_
445
+ _See code: [src/commands/force/package/beta/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/uninstall.ts)_
446
446
 
447
447
  ## `sfdx force:package:beta:uninstall:report -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
448
448
 
@@ -468,7 +468,7 @@ DESCRIPTION
468
468
  retrieve status of package uninstall request
469
469
  ```
470
470
 
471
- _See code: [src/commands/force/package/beta/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/uninstall/report.ts)_
471
+ _See code: [src/commands/force/package/beta/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/uninstall/report.ts)_
472
472
 
473
473
  ## `sfdx force:package:beta:update -p <string> [-n <string>] [-d <string>] [-o <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
474
474
 
@@ -499,19 +499,18 @@ DESCRIPTION
499
499
  update package details
500
500
  ```
501
501
 
502
- _See code: [src/commands/force/package/beta/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/update.ts)_
502
+ _See code: [src/commands/force/package/beta/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/update.ts)_
503
503
 
504
- ## `sfdx force:package:beta:version:create [-p <string>] [-d <directory>] [-f <filepath>] [-b <string>] [-t <string>] [-k <string>] [-x] [-w <minutes>] [-a <string>] [-n <string>] [-e <string>] [-c] [--releasenotesurl <url>] [--postinstallurl <url>] [--postinstallscript <string>] [--uninstallscript <string>] [--skipvalidation] [--skipancestorcheck] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
504
+ ## `sfdx force:package:beta:version:create [-b <string>] [-c | --skipvalidation] [-f <filepath>] [-k <string>] [-x] [-p <string>] [-d <directory>] [--postinstallscript <string>] [--postinstallurl <url>] [--releasenotesurl <url>] [--skipancestorcheck] [-t <string>] [--uninstallscript <string>] [-e <string>] [-a <string>] [-n <string>] [-w <minutes>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
505
505
 
506
506
  create a package version
507
507
 
508
508
  ```
509
509
  USAGE
510
- $ sfdx force:package:beta:version:create [-p <string>] [-d <directory>] [-f <filepath>] [-b <string>] [-t <string>] [-k <string>]
511
- [-x] [-w <minutes>] [-a <string>] [-n <string>] [-e <string>] [-c] [--releasenotesurl <url>] [--postinstallurl
512
- <url>] [--postinstallscript <string>] [--uninstallscript <string>] [--skipvalidation] [--skipancestorcheck] [-v
513
- <string>] [--apiversion <string>] [--json] [--loglevel
514
- trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
510
+ $ sfdx force:package:beta:version:create [-b <string>] [-c | --skipvalidation] [-f <filepath>] [-k <string>] [-x] [-p <string>] [-d
511
+ <directory>] [--postinstallscript <string>] [--postinstallurl <url>] [--releasenotesurl <url>] [--skipancestorcheck]
512
+ [-t <string>] [--uninstallscript <string>] [-e <string>] [-a <string>] [-n <string>] [-w <minutes>] [-v <string>]
513
+ [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
515
514
 
516
515
  FLAGS
517
516
  -a, --versionname=<value> the name of the package version to
@@ -563,9 +562,18 @@ FLAGS
563
562
 
564
563
  DESCRIPTION
565
564
  create a package version
565
+
566
+ EXAMPLES
567
+ $ sfdx force:package:version:create -d common -k password123
568
+
569
+ $ sfdx force:package:version:create -p "Your Package Alias" -k password123
570
+
571
+ $ sfdx force:package:version:create -p 0Ho... -k password123
572
+
573
+ $ sfdx force:package:version:create -d common -k password123 --skipvalidation
566
574
  ```
567
575
 
568
- _See code: [src/commands/force/package/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/version/create.ts)_
576
+ _See code: [src/commands/force/package/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/create.ts)_
569
577
 
570
578
  ## `sfdx force:package:beta:version:create:list [-c <number>] [-s Queued|InProgress|Success|Error] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
571
579
 
@@ -594,7 +602,7 @@ DESCRIPTION
594
602
  list package version creation requests
595
603
  ```
596
604
 
597
- _See code: [src/commands/force/package/beta/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/version/create/list.ts)_
605
+ _See code: [src/commands/force/package/beta/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/create/list.ts)_
598
606
 
599
607
  ## `sfdx force:package:beta:version:create:report -i <id> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
600
608
 
@@ -620,7 +628,7 @@ DESCRIPTION
620
628
  retrieve details about a package version creation request
621
629
  ```
622
630
 
623
- _See code: [src/commands/force/package/beta/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/version/create/report.ts)_
631
+ _See code: [src/commands/force/package/beta/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/create/report.ts)_
624
632
 
625
633
  ## `sfdx force:package:beta:version:delete -p <string> [-n] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
626
634
 
@@ -649,7 +657,7 @@ DESCRIPTION
649
657
  delete a package version
650
658
  ```
651
659
 
652
- _See code: [src/commands/force/package/beta/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/version/delete.ts)_
660
+ _See code: [src/commands/force/package/beta/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/delete.ts)_
653
661
 
654
662
  ## `sfdx force:package:beta:version:displayancestry -p <string> [--dotcode] [-v <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
655
663
 
@@ -683,7 +691,7 @@ DESCRIPTION
683
691
  display the ancestry tree for a 2GP managed package version
684
692
  ```
685
693
 
686
- _See code: [src/commands/force/package/beta/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/version/displayancestry.ts)_
694
+ _See code: [src/commands/force/package/beta/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/displayancestry.ts)_
687
695
 
688
696
  ## `sfdx force:package:beta:version:list [-c <number>] [-m <number>] [-p <array>] [-r] [-o <array>] [-v <string>] [--apiversion <string>] [--concise] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
689
697
 
@@ -725,7 +733,7 @@ DESCRIPTION
725
733
  list all package versions in the Dev Hub org
726
734
  ```
727
735
 
728
- _See code: [src/commands/force/package/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/version/list.ts)_
736
+ _See code: [src/commands/force/package/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/list.ts)_
729
737
 
730
738
  ## `sfdx force:package:beta:version:promote -p <string> [-n] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
731
739
 
@@ -754,7 +762,7 @@ DESCRIPTION
754
762
  promote a package version to released
755
763
  ```
756
764
 
757
- _See code: [src/commands/force/package/beta/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/version/promote.ts)_
765
+ _See code: [src/commands/force/package/beta/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/promote.ts)_
758
766
 
759
767
  ## `sfdx force:package:beta:version:report -p <string> [-v <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
760
768
 
@@ -783,7 +791,7 @@ DESCRIPTION
783
791
  retrieve details about a package version in the Dev Hub org
784
792
  ```
785
793
 
786
- _See code: [src/commands/force/package/beta/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/version/report.ts)_
794
+ _See code: [src/commands/force/package/beta/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/report.ts)_
787
795
 
788
796
  ## `sfdx force:package:beta:version:update -p <string> [-a <string>] [-e <string>] [-b <string>] [-t <string>] [-k <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
789
797
 
@@ -818,6 +826,6 @@ DESCRIPTION
818
826
  update a package version
819
827
  ```
820
828
 
821
- _See code: [src/commands/force/package/beta/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.1.1/src/commands/force/package/beta/version/update.ts)_
829
+ _See code: [src/commands/force/package/beta/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/update.ts)_
822
830
 
823
831
  <!-- commandsstop -->
@@ -1,10 +1,9 @@
1
1
  import { FlagsConfig, SfdxCommand } from '@salesforce/command';
2
- import { SfdxPropertyKeys } from '@salesforce/core';
3
2
  export declare class PackageVersionCreateCommand extends SfdxCommand {
4
3
  static readonly description: string;
5
4
  static readonly longDescription: string;
6
5
  static readonly help: string;
7
- static readonly orgType = SfdxPropertyKeys.DEFAULT_DEV_HUB_USERNAME;
6
+ static readonly examples: string[];
8
7
  static readonly requiresDevhubUsername = true;
9
8
  static readonly requiresProject = true;
10
9
  static readonly flagsConfig: FlagsConfig;
@@ -7,59 +7,137 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.PackageVersionCreateCommand = void 0;
10
+ const os = require("os");
11
+ const path = require("path");
12
+ const fs = require("fs");
10
13
  const command_1 = require("@salesforce/command");
11
14
  const kit_1 = require("@salesforce/kit");
12
15
  const core_1 = require("@salesforce/core");
16
+ const packaging_1 = require("@salesforce/packaging");
17
+ var Package2VersionStatus = packaging_1.PackagingSObjects.Package2VersionStatus;
13
18
  core_1.Messages.importMessagesDirectory(__dirname);
14
19
  const messages = core_1.Messages.loadMessages('@salesforce/plugin-packaging', 'package_version_create');
15
20
  class PackageVersionCreateCommand extends command_1.SfdxCommand {
16
21
  async run() {
17
- process.exitCode = 1;
18
- return Promise.resolve('Not yet implemented');
22
+ if (this.flags.skipvalidation) {
23
+ this.ux.warn(messages.getMessage('skipValidationWarning'));
24
+ }
25
+ const frequency = this.flags.wait && this.flags.skipvalidation ? kit_1.Duration.seconds(5) : kit_1.Duration.seconds(30);
26
+ // no async methods
27
+ // eslint-disable-next-line @typescript-eslint/require-await
28
+ core_1.Lifecycle.getInstance().on('in-progress', async (data) => {
29
+ if (data.packageVersionCreateRequestResult.Status !== Package2VersionStatus.success &&
30
+ data.packageVersionCreateRequestResult.Status !== Package2VersionStatus.error) {
31
+ this.ux.log(messages.getMessage('requestInProgress', [
32
+ frequency.seconds,
33
+ data.timeRemaining.seconds,
34
+ data.packageVersionCreateRequestResult.Status,
35
+ ]));
36
+ }
37
+ });
38
+ // resolve the package id from the --package flag, first checking if it's an alias, then using the flag (an id), and then looking for the package name from the --path flag
39
+ let packageName;
40
+ if (this.flags.package) {
41
+ // we're unable to type this earlier, because casting `undefined as string` will result in "", which would screw up the logic below
42
+ const pkg = this.flags.package;
43
+ packageName = pkg.startsWith('0ho') ? pkg : (0, packaging_1.getPackageIdFromAlias)(pkg, this.project);
44
+ }
45
+ else {
46
+ // due to flag validation, we'll either have a package or path flag
47
+ packageName = this.project.getPackageFromPath(this.flags.path).package;
48
+ }
49
+ const packageId = (0, packaging_1.getPackageIdFromAlias)(packageName, this.project);
50
+ const pv = new packaging_1.PackageVersion({ project: this.project, connection: this.hubOrg.getConnection() });
51
+ const result = await pv.create({ ...this.flags, ...{ packageId } }, {
52
+ timeout: this.flags.wait,
53
+ frequency,
54
+ });
55
+ switch (result.Status) {
56
+ case 'Error':
57
+ this.ux.log(messages.getMessage('unknownError', [result.Error.join('\n')]));
58
+ break;
59
+ case 'Success':
60
+ this.ux.log(messages.getMessage(result.Status, [
61
+ result.Id,
62
+ result.SubscriberPackageVersionId,
63
+ packaging_1.INSTALL_URL_BASE.toString(),
64
+ result.SubscriberPackageVersionId,
65
+ ]));
66
+ break;
67
+ default:
68
+ this.ux.log(messages.getMessage('InProgress', [(0, packaging_1.convertCamelCaseStringToSentence)(result.Status), result.Id]));
69
+ }
70
+ return result;
19
71
  }
20
72
  }
21
73
  exports.PackageVersionCreateCommand = PackageVersionCreateCommand;
22
74
  PackageVersionCreateCommand.description = messages.getMessage('cliDescription');
23
75
  PackageVersionCreateCommand.longDescription = messages.getMessage('cliLongDescription');
24
76
  PackageVersionCreateCommand.help = messages.getMessage('help');
25
- PackageVersionCreateCommand.orgType = core_1.SfdxPropertyKeys.DEFAULT_DEV_HUB_USERNAME;
77
+ PackageVersionCreateCommand.examples = messages.getMessage('examples').split(os.EOL);
26
78
  PackageVersionCreateCommand.requiresDevhubUsername = true;
27
79
  PackageVersionCreateCommand.requiresProject = true;
28
80
  PackageVersionCreateCommand.flagsConfig = {
29
- package: command_1.flags.string({
30
- char: 'p',
31
- description: messages.getMessage('package'),
32
- longDescription: messages.getMessage('longPackage', []),
81
+ branch: command_1.flags.string({
82
+ char: 'b',
83
+ description: messages.getMessage('branch'),
84
+ longDescription: messages.getMessage('longBranch'),
33
85
  }),
34
- path: command_1.flags.directory({
35
- char: 'd',
36
- description: messages.getMessage('path'),
37
- longDescription: messages.getMessage('longPath'),
86
+ buildinstance: command_1.flags.string({
87
+ char: 's',
88
+ description: messages.getMessage('instance'),
89
+ longDescription: messages.getMessage('longInstance'),
90
+ hidden: true,
91
+ }),
92
+ codecoverage: command_1.flags.boolean({
93
+ char: 'c',
94
+ description: messages.getMessage('codeCoverage'),
95
+ longDescription: messages.getMessage('longCodeCoverage'),
96
+ default: false,
97
+ exclusive: ['skipvalidation'],
38
98
  }),
39
99
  definitionfile: command_1.flags.filepath({
40
100
  char: 'f',
41
101
  description: messages.getMessage('definitionfile'),
42
102
  longDescription: messages.getMessage('longDefinitionfile'),
43
103
  }),
44
- branch: command_1.flags.string({
45
- char: 'b',
46
- description: messages.getMessage('branch'),
47
- longDescription: messages.getMessage('longBranch'),
48
- }),
49
- tag: command_1.flags.string({
50
- char: 't',
51
- description: messages.getMessage('tag'),
52
- longDescription: messages.getMessage('longTag'),
53
- }),
54
104
  installationkey: command_1.flags.string({
55
105
  char: 'k',
56
106
  description: messages.getMessage('key'),
57
107
  longDescription: messages.getMessage('longKey'),
108
+ exactlyOne: ['installationkey', 'installationkeybypass'],
58
109
  }),
59
110
  installationkeybypass: command_1.flags.boolean({
60
111
  char: 'x',
61
112
  description: messages.getMessage('keyBypass'),
62
113
  longDescription: messages.getMessage('longKeyBypass'),
114
+ exactlyOne: ['installationkey', 'installationkeybypass'],
115
+ }),
116
+ package: command_1.flags.string({
117
+ char: 'p',
118
+ description: messages.getMessage('package'),
119
+ longDescription: messages.getMessage('longPackage', []),
120
+ exactlyOne: ['path', 'package'],
121
+ }),
122
+ path: command_1.flags.directory({
123
+ char: 'd',
124
+ description: messages.getMessage('path'),
125
+ longDescription: messages.getMessage('longPath'),
126
+ exactlyOne: ['path', 'package'],
127
+ validate: (dir) => {
128
+ if (!fs.existsSync(path.join(process.cwd(), dir))) {
129
+ throw messages.createError('errorPathNotFound', [dir]);
130
+ }
131
+ return true;
132
+ },
133
+ }),
134
+ postinstallscript: command_1.flags.string({
135
+ description: messages.getMessage('postInstallScript'),
136
+ longDescription: messages.getMessage('postInstallScriptLong'),
137
+ }),
138
+ postinstallurl: command_1.flags.url({
139
+ description: messages.getMessage('postInstallUrl'),
140
+ longDescription: messages.getMessage('postInstallUrlLong'),
63
141
  }),
64
142
  preserve: command_1.flags.boolean({
65
143
  char: 'r',
@@ -67,23 +145,40 @@ PackageVersionCreateCommand.flagsConfig = {
67
145
  longDescription: messages.getMessage('longPreserve'),
68
146
  hidden: true,
69
147
  }),
148
+ releasenotesurl: command_1.flags.url({
149
+ description: messages.getMessage('releaseNotesUrl'),
150
+ longDescription: messages.getMessage('releaseNotesUrlLong'),
151
+ }),
152
+ skipancestorcheck: command_1.flags.boolean({
153
+ description: messages.getMessage('skipAncestorCheck'),
154
+ longDescription: messages.getMessage('skipAncestorCheckLong'),
155
+ default: false,
156
+ }),
157
+ skipvalidation: command_1.flags.boolean({
158
+ description: messages.getMessage('skipValidation'),
159
+ longDescription: messages.getMessage('skipValidationLong'),
160
+ default: false,
161
+ exclusive: ['codecoverage'],
162
+ }),
163
+ tag: command_1.flags.string({
164
+ char: 't',
165
+ description: messages.getMessage('tag'),
166
+ longDescription: messages.getMessage('longTag'),
167
+ }),
168
+ uninstallscript: command_1.flags.string({
169
+ description: messages.getMessage('uninstallScript'),
170
+ longDescription: messages.getMessage('uninstallScriptLong'),
171
+ }),
70
172
  validateschema: command_1.flags.boolean({
71
173
  char: 'j',
72
174
  description: messages.getMessage('validateschema'),
73
175
  longDescription: messages.getMessage('longValidateschema'),
74
176
  hidden: true,
75
177
  }),
76
- wait: command_1.flags.minutes({
77
- char: 'w',
78
- description: messages.getMessage('wait'),
79
- longDescription: messages.getMessage('longWait'),
80
- default: kit_1.Duration.minutes(0),
81
- }),
82
- buildinstance: command_1.flags.string({
83
- char: 's',
84
- description: messages.getMessage('instance'),
85
- longDescription: messages.getMessage('longInstance'),
86
- hidden: true,
178
+ versiondescription: command_1.flags.string({
179
+ char: 'e',
180
+ description: messages.getMessage('versiondescription'),
181
+ longDescription: messages.getMessage('longVersiondescription'),
87
182
  }),
88
183
  versionname: command_1.flags.string({
89
184
  char: 'a',
@@ -95,42 +190,11 @@ PackageVersionCreateCommand.flagsConfig = {
95
190
  description: messages.getMessage('versionnumber'),
96
191
  longDescription: messages.getMessage('longVersionnumber'),
97
192
  }),
98
- versiondescription: command_1.flags.string({
99
- char: 'e',
100
- description: messages.getMessage('versiondescription'),
101
- longDescription: messages.getMessage('longVersiondescription'),
102
- }),
103
- codecoverage: command_1.flags.boolean({
104
- char: 'c',
105
- description: messages.getMessage('codeCoverage'),
106
- longDescription: messages.getMessage('longCodeCoverage'),
107
- default: false,
108
- }),
109
- releasenotesurl: command_1.flags.url({
110
- description: messages.getMessage('releaseNotesUrl'),
111
- longDescription: messages.getMessage('releaseNotesUrlLong'),
112
- }),
113
- postinstallurl: command_1.flags.url({
114
- description: messages.getMessage('postInstallUrl'),
115
- longDescription: messages.getMessage('postInstallUrlLong'),
116
- }),
117
- postinstallscript: command_1.flags.string({
118
- description: messages.getMessage('postInstallScript'),
119
- longDescription: messages.getMessage('postInstallScriptLong'),
120
- }),
121
- uninstallscript: command_1.flags.string({
122
- description: messages.getMessage('uninstallScript'),
123
- longDescription: messages.getMessage('uninstallScriptLong'),
124
- }),
125
- skipvalidation: command_1.flags.boolean({
126
- description: messages.getMessage('skipValidation'),
127
- longDescription: messages.getMessage('skipValidationLong'),
128
- default: false,
129
- }),
130
- skipancestorcheck: command_1.flags.boolean({
131
- description: messages.getMessage('skipAncestorCheck'),
132
- longDescription: messages.getMessage('skipAncestorCheckLong'),
133
- default: false,
193
+ wait: command_1.flags.minutes({
194
+ char: 'w',
195
+ description: messages.getMessage('wait'),
196
+ longDescription: messages.getMessage('longWait'),
197
+ default: kit_1.Duration.minutes(0),
134
198
  }),
135
199
  };
136
200
  //# sourceMappingURL=create.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../../src/commands/force/package/beta/version/create.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iDAAsE;AACtE,yCAA2C;AAC3C,2CAA8D;AAE9D,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,wBAAwB,CAAC,CAAC;AAEjG,MAAa,2BAA4B,SAAQ,qBAAW;IAoHnD,KAAK,CAAC,GAAG;QACd,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;QACrB,OAAO,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAChD,CAAC;;AAvHH,kEAwHC;AAvHwB,uCAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACpD,2CAAe,GAAG,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;AAC5D,gCAAI,GAAG,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AACnC,mCAAO,GAAG,uBAAgB,CAAC,wBAAwB,CAAC;AACpD,kDAAsB,GAAG,IAAI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AqB,CAAC;KAC5D,CAAC;IACF,cAAc,EAAE,eAAK,CAAC,OAAO,CAAC;QAC5B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC;QAClD,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC;QAC1D,MAAM,EAAE,IAAI;KACb,CAAC;IACF,kBAAkB,EAAE,eAAK,CAAC,MAAM,CAAC;QAC/B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC;QACtD,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC;KAC/D,CAAC;IACF,WAAW,EAAE,eAAK,CAAC,MAAM,CAAC;QACxB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC;QAC/C,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC;KACxD,CAAC;IACF,aAAa,EAAE,eAAK,CAAC,MAAM,CAAC;QAC1B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,eAAe,CAAC;QACjD,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC;KAC1D,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,OAAO,CAAC;QAClB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC;QACxC,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC;QAChD,OAAO,EAAE,cAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;KAC7B,CAAC;CACH,CAAC"}
@@ -20,7 +20,8 @@ To promote a package version to released, you must use the --codecoverage parame
20
20
 
21
21
  We don’t calculate code coverage for org-dependent unlocked packages, or for package versions that specify --skipvalidation.
22
22
 
23
- Examples:
23
+ # examples
24
+
24
25
  $ sfdx force:package:version:create -d common -k password123
25
26
  $ sfdx force:package:version:create -p "Your Package Alias" -k password123
26
27
  $ sfdx force:package:version:create -p 0Ho... -k password123
@@ -299,3 +300,7 @@ Package version creation failed with unknown error.
299
300
  # malformedUrl
300
301
 
301
302
  The %s value "%s" from the command line or sfdx-project.json is not in the correct format for a URL. It must be a valid URL in the format "http://salesforce.com". More information: https://nodejs.org/api/url.html#url_url_strings_and_url_objects
303
+
304
+ # requestInProgress
305
+
306
+ Request in progress. Sleeping %s seconds. Will wait a total of %s more seconds before timing out. Current Status=%s.
@@ -1 +1 @@
1
- {"version":"1.2.0","commands":{"force:package:beta:convert":{"id":"force:package:beta:convert","description":"creates a second-generation package version from a first-generation package","strict":true,"usage":"<%= command.id %> -p <id> [-k <string>] [-x] [-w <minutes>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 033) of the first-generation package to convert","required":true,"multiple":false},"installationkey":{"name":"installationkey","type":"option","char":"k","description":"installation key for key-protected package (either --installationkey or --installationkeybypass is required)","multiple":false},"installationkeybypass":{"name":"installationkeybypass","type":"boolean","char":"x","description":"bypass the installation key requirement (either --installationkey or --installationkeybypass is required)","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"minutes to wait for the package version to be created","multiple":false,"default":{"quantity":0,"unit":0}},"buildinstance":{"name":"buildinstance","type":"option","char":"s","description":"the instance where the conversion package version will be created——for example, NA50","hidden":true,"multiple":false}},"args":[],"longDescription":"Creates a second-generation package in the Dev Hub from a first-generation package in the Dev Hub org.","help":"The package convert creates a new package in the Dev Hub if one does not already exist for the specified first-generation package.\n\nIt then creates a new package version in the Dev Hub with contents based on the specified first-generation package.\n\nThe latest released non-patch package version from the specified first-generation package will be converted.\n\nTo retrieve details about a package version create request, including status and package version ID (04t), run \"sfdx force:package:version:create:report -i 08c...\".\n\nWe recommend specifying the --installationkey to protect the contents of your package and to prevent unauthorized installation of your package.\n\nTo list package version creation requests in the org, run \"sfdx force:package:version:create:list\".\n\nExamples:\n$ sfdx force:package:convert --package 033xx0000004Gmn -k password123","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"flagsConfig":{"package":{"kind":"id","char":"p","description":"ID (starts with 033) of the first-generation package to convert","longDescription":"The ID (starts with 033) or alias of the package to convert.","required":true,"validate":{},"input":[],"multiple":false,"type":"option"},"installationkey":{"kind":"string","char":"k","description":"installation key for key-protected package (either --installationkey or --installationkeybypass is required)","longDescription":"Installation key for creating the key-protected package. Either an --installationkey value or the --installationkeybypass flag is required.","exactlyOne":["installationkey","installationkeybypass"],"input":[],"multiple":false,"type":"option"},"installationkeybypass":{"kind":"boolean","char":"x","description":"bypass the installation key requirement (either --installationkey or --installationkeybypass is required)","longDescription":"Bypasses the installation key requirement. If you bypass this requirement, anyone can install your package. Either an --installationkey value or the --installationkeybypass flag is required.","exactlyOne":["installationkey","installationkeybypass"],"allowNo":false,"type":"boolean"},"wait":{"kind":"minutes","char":"w","description":"minutes to wait for the package version to be created","longDescription":"The number of minutes to wait for the package version to be created.","default":{"quantity":0,"unit":0},"input":[],"multiple":false,"type":"option"},"buildinstance":{"kind":"string","char":"s","description":"the instance where the conversion package version will be created——for example, NA50","longDescription":"The instance where the conversion package version will be created——for example, NA50.","hidden":true,"input":[],"multiple":false,"type":"option"}}},"force:package:beta:create":{"id":"force:package:beta:create","description":"create a package","strict":true,"usage":"<%= command.id %> -n <string> -t Managed|Unlocked -r <directory> [-d <string>] [-e] [--orgdependent] [-o <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"name":{"name":"name","type":"option","char":"n","description":"package name","required":true,"multiple":false},"packagetype":{"name":"packagetype","type":"option","char":"t","description":"package type","required":true,"helpValue":"(Managed|Unlocked)","multiple":false,"options":["Managed","Unlocked"]},"description":{"name":"description","type":"option","char":"d","description":"package description","multiple":false},"nonamespace":{"name":"nonamespace","type":"boolean","char":"e","description":"creates the package with no namespace; available only for unlocked packages.","allowNo":false},"path":{"name":"path","type":"option","char":"r","description":"path to directory that contains the contents of the package","required":true,"multiple":false},"orgdependent":{"name":"orgdependent","type":"boolean","description":"depends on unpackaged metadata in the installation org. Applies to unlocked packages only.","allowNo":false},"errornotificationusername":{"name":"errornotificationusername","type":"option","char":"o","description":"active Dev Hub user designated to receive email notifications for package errors","multiple":false}},"args":[],"longDescription":"Creates a package.","help":"First, use this command to create a package. Then create a package version.\n\nIf you don’t have a namespace defined in your sfdx-project.json file, use --nonamespace.\n\nYour --name value must be unique within your namespace.\n\nExamples:\n$ sfdx force:package:create -n YourPackageName -t Unlocked -r force-app\n$ sfdx force:package:create -n YourPackageName -d \"Your Package Descripton\" -t Unlocked -r force-app\n\nRun 'sfdx force:package:list' to list all packages in the Dev Hub org.","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"name":{"kind":"string","char":"n","description":"package name","longDescription":"Name of the package to create.","required":true,"input":[],"multiple":false,"type":"option"},"packagetype":{"kind":"enum","helpValue":"(Managed|Unlocked)","char":"t","description":"package type","longDescription":"Package type for the package.\nThe options for package type are Managed and Unlocked (Managed=DeveloperManagedSubscriberManaged, Unlocked=DeveloperControlledSubscriberEditable).\nThese options determine upgrade and editability rules.","required":true,"options":["Managed","Unlocked"],"input":[],"multiple":false,"type":"option"},"description":{"kind":"string","char":"d","description":"package description","longDescription":"Description of the package.","input":[],"multiple":false,"type":"option"},"nonamespace":{"kind":"boolean","char":"e","description":"creates the package with no namespace; available only for unlocked packages.","longDescription":"Creates the package with no namespace. Available only for unlocked packages. Useful when you’re migrating an existing org to packages. But, use a namespaced package for new metadata.","allowNo":false,"type":"boolean"},"path":{"kind":"directory","char":"r","description":"path to directory that contains the contents of the package","longDescription":"The path to the directory that contains the contents of the package.","required":true,"input":[],"multiple":false,"type":"option"},"orgdependent":{"kind":"boolean","description":"depends on unpackaged metadata in the installation org. Applies to unlocked packages only.","longDescription":"Package depends on unpackaged metadata in the installation org. Applies to unlocked packages only.\nUse Source Tracking in Sandboxes to develop your org-dependent unlocked package.\nFor more information, see \"Create Org-Dependent Unlocked Packages\" in the Salesforce DX Developer Guide.","allowNo":false,"type":"boolean"},"errornotificationusername":{"kind":"string","char":"o","description":"active Dev Hub user designated to receive email notifications for package errors","longDescription":"An active Dev Hub org user designated to receive email notifications for unhandled Apex exceptions, and install, upgrade, or uninstall failures associated with your package.","input":[],"multiple":false,"type":"option"}}},"force:package:beta:delete":{"id":"force:package:beta:delete","description":"delete a package","strict":true,"usage":"<%= command.id %> -p <string> [-n] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"n","description":"don’t prompt before deleting the package","allowNo":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 0Ho) or alias of the package to delete","required":true,"multiple":false},"undelete":{"name":"undelete","type":"boolean","description":"undelete a deleted package","hidden":true,"allowNo":false}},"args":[],"longDescription":"Delete unlocked and second-generation managed packages. Before you delete a package, first delete all associated package versions.","help":"Specify the ID or alias of the package you want to delete.\n\nExamples:\n$ sfdx force:package:delete -p \"Your Package Alias\"\n$ sfdx force:package:delete -p 0Ho...","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"noprompt":{"kind":"boolean","char":"n","description":"don’t prompt before deleting the package","longDescription":"Don’t prompt before deleting the package.","allowNo":false,"type":"boolean"},"package":{"kind":"string","char":"p","description":"ID (starts with 0Ho) or alias of the package to delete","longDescription":"The ID (starts with 0Ho) or alias of the package to delete.","required":true,"input":[],"multiple":false,"type":"option"},"undelete":{"kind":"boolean","description":"undelete a deleted package","longDescription":"Undelete a deleted package.","hidden":true,"allowNo":false,"type":"boolean"}}},"force:package:beta:install":{"id":"force:package:beta:install","description":"install a package in the target org","strict":true,"usage":"<%= command.id %> -p <string> [-w <minutes>] [-k <string>] [-b <minutes>] [-r] [-a all|package] [-s AllUsers|AdminsOnly] [-t DeprecateOnly|Mixed|Delete] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"number of minutes to wait for installation status","multiple":false},"installationkey":{"name":"installationkey","type":"option","char":"k","description":"installation key for key-protected package (default: null)","multiple":false},"publishwait":{"name":"publishwait","type":"option","char":"b","description":"number of minutes to wait for subscriber package version ID to become available in the target org","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"r","description":"do not prompt for confirmation","allowNo":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 04t) or alias of the package version to install","required":true,"multiple":false},"apexcompile":{"name":"apexcompile","type":"option","char":"a","description":"compile all Apex in the org and package, or only Apex in the package; unlocked packages only","helpValue":"(all|package)","multiple":false,"options":["all","package"],"default":"all"},"securitytype":{"name":"securitytype","type":"option","char":"s","description":"security access type for the installed package (deprecation notice: The default --securitytype value will change from AllUsers to AdminsOnly in v47.0 or later.)","helpValue":"(AllUsers|AdminsOnly)","multiple":false,"options":["AllUsers","AdminsOnly"],"default":"AdminsOnly"},"upgradetype":{"name":"upgradetype","type":"option","char":"t","description":"the upgrade type for the package installation; available only for unlocked packages","helpValue":"(DeprecateOnly|Mixed|Delete)","multiple":false,"options":["DeprecateOnly","Mixed","Delete"],"default":"Mixed"}},"args":[],"longDescription":"Installs a package in the target org.","help":"Supply the ID of the package version to install. The package installs in your default target org unless you supply the username for a different target org.\n\nFor package upgrades, to specify options for component deprecation or deletion of removed components, include an --upgradetype value. To delete components that can be safely deleted and deprecate the others, specify --upgradetype Mixed (the default). To deprecate all removed components, specify --upgradetype DeprecateOnly. To delete all removed components, except for custom objects and custom fields, that don't have dependencies, specify --upgradetype Delete. (Note: This option can result in the loss of data that is associated with the deleted components.) The default is Mixed.\n\nExamples:\n$ sfdx force:package:beta:install --package 04t... -u me@example.com\n$ sfdx force:package:beta:install --package awesome_package_alias\n$ sfdx force:package:beta:install --package \"Awesome Package Alias\"\n$ sfdx force:package:beta:install --package 04t... -t DeprecateOnly","requiresUsername":true,"flagsConfig":{"wait":{"kind":"minutes","char":"w","description":"number of minutes to wait for installation status","longDescription":"Maximum number of minutes to wait for installation status. The default is 0.","input":[],"multiple":false,"type":"option"},"installationkey":{"kind":"string","char":"k","description":"installation key for key-protected package (default: null)","longDescription":"Installation key for installing a key-protected package. The default is null.","input":[],"multiple":false,"type":"option"},"publishwait":{"kind":"minutes","char":"b","description":"number of minutes to wait for subscriber package version ID to become available in the target org","longDescription":"Maximum number of minutes to wait for the Subscriber Package Version ID to become available in the target org before canceling the install request. The default is 0.","input":[],"multiple":false,"type":"option"},"noprompt":{"kind":"boolean","char":"r","description":"do not prompt for confirmation","longDescription":"Allows the following without an explicit confirmation response: 1) Remote Site Settings and Content Security Policy websites to send or receive data, and 2) --upgradetype Delete to proceed.","allowNo":false,"type":"boolean"},"package":{"kind":"string","char":"p","description":"ID (starts with 04t) or alias of the package version to install","longDescription":"The ID (starts with 04t) or alias of the package version to install.","required":true,"input":[],"multiple":false,"type":"option"},"apexcompile":{"kind":"enum","helpValue":"(all|package)","char":"a","description":"compile all Apex in the org and package, or only Apex in the package; unlocked packages only","longDescription":"Applies to unlocked packages only. Specifies whether to compile all Apex in the org and package, or only the Apex in the package.\nFor package installs into production orgs, or any org that has Apex Compile on Deploy enabled, the platform compiles all Apex in the org after the package install or upgrade operation completes.\nThis approach assures that package installs and upgrades don’t impact the performance of an org, and is done even if --apexcompile package is specified.","default":"all","options":["all","package"],"input":[],"multiple":false,"type":"option"},"securitytype":{"kind":"enum","helpValue":"(AllUsers|AdminsOnly)","char":"s","description":"security access type for the installed package (deprecation notice: The default --securitytype value will change from AllUsers to AdminsOnly in v47.0 or later.)","longDescription":"Security access type for the installed package.","default":"AdminsOnly","options":["AllUsers","AdminsOnly"],"input":[],"multiple":false,"type":"option"},"upgradetype":{"kind":"enum","helpValue":"(DeprecateOnly|Mixed|Delete)","char":"t","description":"the upgrade type for the package installation; available only for unlocked packages","longDescription":"For package upgrades, specifies whether to mark all removed components as deprecated (DeprecateOnly), to delete removed components that can be safely deleted and deprecate the others (Mixed), or to delete all removed components, except for custom objects and custom fields, that don't have dependencies (Delete). The default is Mixed. Can specify DeprecateOnly or Delete only for unlocked package upgrades.","default":"Mixed","options":["DeprecateOnly","Mixed","Delete"],"input":[],"multiple":false,"type":"option"}}},"force:package:beta:list":{"id":"force:package:beta:list","description":"list all packages in the Dev Hub org","strict":true,"usage":"<%= command.id %> [-v <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"display extended package detail","allowNo":false}},"args":[],"longDescription":"Lists all packages in the Dev Hub org.","help":"You can view the namespace, IDs, and other details for each package.\n\nExamples:\n$ sfdx force:package:list -v devhub@example.com\n$ sfdx force:package:list -v devhub@example.com --verbose","requiresProject":true,"orgType":"target-dev-hub","requiresDevhubUsername":true,"flagsConfig":{"verbose":{"description":"display extended package detail","longDescription":"Displays extended package details.","type":"boolean","kind":"boolean","allowNo":false}}},"force:package:beta:uninstall":{"id":"force:package:beta:uninstall","description":"uninstall a second-generation package from the target org","strict":true,"usage":"<%= command.id %> [-w <minutes>] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"number of minutes to wait for uninstall status","multiple":false,"default":{"quantity":0,"unit":0}},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 04t) or alias of the package version to uninstall","multiple":false}},"args":[],"longDescription":"Uninstalls a second-generation package from the target org. To uninstall a first-generation package, use the Salesforce user interface.","help":"Specify the package ID for a second-generation package.\n\nExamples:\n$ sfdx force:package:beta:uninstall -p 04t... -u me@example.com\n$ sfdx force:package:beta:uninstall -p undesirable_package_alias\n$ sfdx force:package:beta:uninstall -p \"Undesirable Package Alias\"\n\nTo list the org’s installed packages, run \"sfdx force:package:beta:installed:list\".\n\nTo uninstall a first-generation package, from Setup, enter Installed Packages in the Quick Find box, then select Installed Packages.","requiresUsername":true,"flagsConfig":{"wait":{"kind":"minutes","char":"w","description":"number of minutes to wait for uninstall status","longDescription":"Maximum number of minutes to wait for uninstall status. The default is 0.","default":{"quantity":0,"unit":0},"input":[],"multiple":false,"type":"option"},"package":{"kind":"string","char":"p","description":"ID (starts with 04t) or alias of the package version to uninstall","longDescription":"The ID (starts with 04t) or alias of the package version to uninstall.","input":[],"multiple":false,"type":"option"}}},"force:package:beta:update":{"id":"force:package:beta:update","description":"update package details","strict":true,"usage":"<%= command.id %> -p <string> [-n <string>] [-d <string>] [-o <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 0Ho) or alias of the package to update","required":true,"multiple":false},"name":{"name":"name","type":"option","char":"n","description":"new package name","multiple":false},"description":{"name":"description","type":"option","char":"d","description":"new package description","multiple":false},"errornotificationusername":{"name":"errornotificationusername","type":"option","char":"o","description":"active Dev Hub user designated to receive email notifications for package errors","multiple":false}},"args":[],"longDescription":"Updates details about a package. Does not create a package version.","help":"Specify a new value for each option you want to update.\n\nExamples:\n$ sfdx force:package:update -p \"Your Package Alias\" -n \"New Package Name\"\n$ sfdx force:package:update -p 0Ho... -d \"New Package Description\"\n\nRun \"sfdx force:package:list\" to list all packages in the Dev Hub org.","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"package":{"kind":"string","char":"p","description":"ID (starts with 0Ho) or alias of the package to update","longDescription":"The ID (starts with 0Ho) or alias of the package to update.","required":true,"input":[],"multiple":false,"type":"option"},"name":{"kind":"string","char":"n","description":"new package name","longDescription":"New name of the package.","input":[],"multiple":false,"type":"option"},"description":{"kind":"string","char":"d","description":"new package description","longDescription":"New description of the package.","input":[],"multiple":false,"type":"option"},"errornotificationusername":{"kind":"string","char":"o","description":"active Dev Hub user designated to receive email notifications for package errors","longDescription":"An active Dev Hub org user designated to receive email notifications for unhandled Apex exceptions, and install, upgrade, or uninstall failures associated with your package.","input":[],"multiple":false,"type":"option"}}},"force:package:beta:install:report":{"id":"force:package:beta:install:report","description":"retrieve the status of a package installation request","strict":true,"usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"requestid":{"name":"requestid","type":"option","char":"i","description":"ID of the package install request you want to check","required":true,"multiple":false}},"args":[],"longDescription":"Retrieves the status of a package installation request.","help":"Examples:\n$ sfdx force:package:install:report -i 0Hf...\n$ sfdx force:package:install:report -i 0Hf... -u me@example.com","requiresUsername":true,"flagsConfig":{"requestid":{"kind":"id","char":"i","description":"ID of the package install request you want to check","longDescription":"The ID of the package install request you want to check.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:package:beta:installed:list":{"id":"force:package:beta:installed:list","description":"list the org’s installed packages","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"examples":["$ sfdx force:package:installed:list","$ sfdx force:package:installed:list -u me@example.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"longDescription":"Lists all packages installed in the target org.","requiresUsername":true},"force:package:beta:uninstall:report":{"id":"force:package:beta:uninstall:report","description":"retrieve status of package uninstall request","strict":true,"usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"requestid":{"name":"requestid","type":"option","char":"i","description":"ID of the package uninstall request you want to check","required":true,"multiple":false}},"args":[],"longDescription":"Retrieves the status of a package uninstall request.","help":"Examples:\n$ sfdx force:package:uninstall:report -i 06y...\n$ sfdx force:package:uninstall:report -i 06y... -u me@example.com","requiresUsername":true,"flagsConfig":{"requestid":{"kind":"id","char":"i","description":"ID of the package uninstall request you want to check","longDescription":"The ID of the package uninstall request you want to check.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:package:beta:version:create":{"id":"force:package:beta:version:create","description":"create a package version","strict":true,"usage":"<%= command.id %> [-p <string>] [-d <directory>] [-f <filepath>] [-b <string>] [-t <string>] [-k <string>] [-x] [-w <minutes>] [-a <string>] [-n <string>] [-e <string>] [-c] [--releasenotesurl <url>] [--postinstallurl <url>] [--postinstallscript <string>] [--uninstallscript <string>] [--skipvalidation] [--skipancestorcheck] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 0Ho) or alias of the package to create a version of","multiple":false},"path":{"name":"path","type":"option","char":"d","description":"path to directory that contains the contents of the package","multiple":false},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to a definition file similar to scratch org definition file that contains the list of features and org preferences that the metadata of the package version depends on","multiple":false},"branch":{"name":"branch","type":"option","char":"b","description":"the package version’s branch","multiple":false},"tag":{"name":"tag","type":"option","char":"t","description":"the package version’s tag","multiple":false},"installationkey":{"name":"installationkey","type":"option","char":"k","description":"installation key for key-protected package (either --installationkey or --installationkeybypass is required)","multiple":false},"installationkeybypass":{"name":"installationkeybypass","type":"boolean","char":"x","description":"bypass the installation key requirement (either --installationkey or --installationkeybypass is required)","allowNo":false},"preserve":{"name":"preserve","type":"boolean","char":"r","description":"temp files are preserved that would otherwise be deleted","hidden":true,"allowNo":false},"validateschema":{"name":"validateschema","type":"boolean","char":"j","description":"sfdx-project.json is validated against JSON schema","hidden":true,"allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"minutes to wait for the package version to be created","multiple":false,"default":{"quantity":0,"unit":0}},"buildinstance":{"name":"buildinstance","type":"option","char":"s","description":"the instance where the package version will be created——for example, NA50","hidden":true,"multiple":false},"versionname":{"name":"versionname","type":"option","char":"a","description":"the name of the package version to be created","multiple":false},"versionnumber":{"name":"versionnumber","type":"option","char":"n","description":"the version number of the package version to be created","multiple":false},"versiondescription":{"name":"versiondescription","type":"option","char":"e","description":"the description of the package version to be created","multiple":false},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"calculate the code coverage by running the packaged Apex tests","allowNo":false},"releasenotesurl":{"name":"releasenotesurl","type":"option","description":"release notes URL","multiple":false},"postinstallurl":{"name":"postinstallurl","type":"option","description":"post-install URL","multiple":false},"postinstallscript":{"name":"postinstallscript","type":"option","description":"post-install script name; managed packages only","multiple":false},"uninstallscript":{"name":"uninstallscript","type":"option","description":"uninstall script name; managed packages only","multiple":false},"skipvalidation":{"name":"skipvalidation","type":"boolean","description":"skip validation during package version creation; you can’t promote unvalidated package versions","allowNo":false},"skipancestorcheck":{"name":"skipancestorcheck","type":"boolean","description":"Overrides ancestry requirements.","allowNo":false}},"args":[],"longDescription":"Creates a package version in the Dev Hub org.","help":"The package version is based on the package contents in the specified directory.\n\nTo retrieve details about a package version create request, including status and package version ID (04t), run \"sfdx force:package:version:create:report -i 08c...\".\n\nWe recommend that you specify the --installationkey parameter to protect the contents of your package and to prevent unauthorized installation of your package.\n\nTo list package version creation requests in the org, run \"sfdx force:package:version:create:list\".\n\nTo promote a package version to released, you must use the --codecoverage parameter. The package must also meet the code coverage requirements. This requirement applies to both managed and unlocked packages.\n\nWe don’t calculate code coverage for org-dependent unlocked packages, or for package versions that specify --skipvalidation.\n\nExamples:\n$ sfdx force:package:version:create -d common -k password123\n$ sfdx force:package:version:create -p \"Your Package Alias\" -k password123\n$ sfdx force:package:version:create -p 0Ho... -k password123\n$ sfdx force:package:version:create -d common -k password123 --skipvalidation","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"package":{"kind":"string","char":"p","description":"ID (starts with 0Ho) or alias of the package to create a version of","longDescription":"The ID (starts with 0Ho) or alias of the package to create a version of.","input":[],"multiple":false,"type":"option"},"path":{"kind":"directory","char":"d","description":"path to directory that contains the contents of the package","longDescription":"The path to the directory that contains the contents of the package.","input":[],"multiple":false,"type":"option"},"definitionfile":{"kind":"filepath","char":"f","description":"path to a definition file similar to scratch org definition file that contains the list of features and org preferences that the metadata of the package version depends on","longDescription":"The path to a definition file similar to scratch org definition file that contains the list of features and org preferences that the metadata of the package version depends on.","input":[],"multiple":false,"type":"option"},"branch":{"kind":"string","char":"b","description":"the package version’s branch","longDescription":"Name of the branch in your source control system that the package version is based on.","input":[],"multiple":false,"type":"option"},"tag":{"kind":"string","char":"t","description":"the package version’s tag","longDescription":"The package version’s tag.","input":[],"multiple":false,"type":"option"},"installationkey":{"kind":"string","char":"k","description":"installation key for key-protected package (either --installationkey or --installationkeybypass is required)","longDescription":"Installation key for creating the key-protected package. Either an --installationkey value or the --installationkeybypass flag is required.","input":[],"multiple":false,"type":"option"},"installationkeybypass":{"kind":"boolean","char":"x","description":"bypass the installation key requirement (either --installationkey or --installationkeybypass is required)","longDescription":"Bypasses the installation key requirement. If you bypass this requirement, anyone can install your package. Either an --installationkey value or the --installationkeybypass flag is required.","allowNo":false,"type":"boolean"},"preserve":{"kind":"boolean","char":"r","description":"temp files are preserved that would otherwise be deleted","longDescription":"Specifies that the temp files are preserved that would otherwise be deleted","hidden":true,"allowNo":false,"type":"boolean"},"validateschema":{"kind":"boolean","char":"j","description":"sfdx-project.json is validated against JSON schema","longDescription":"Specifies that the sfdx-project.json file should be validated against JSON schema.","hidden":true,"allowNo":false,"type":"boolean"},"wait":{"kind":"minutes","char":"w","description":"minutes to wait for the package version to be created","longDescription":"The number of minutes to wait for the package version to be created.","default":{"quantity":0,"unit":0},"input":[],"multiple":false,"type":"option"},"buildinstance":{"kind":"string","char":"s","description":"the instance where the package version will be created——for example, NA50","longDescription":"The instance where the package version will be created——for example, NA50.","hidden":true,"input":[],"multiple":false,"type":"option"},"versionname":{"kind":"string","char":"a","description":"the name of the package version to be created","longDescription":"The name of the package version to be created. Overrides the sfdx-project.json value.","input":[],"multiple":false,"type":"option"},"versionnumber":{"kind":"string","char":"n","description":"the version number of the package version to be created","longDescription":"The version number of the package version to be created. Overrides the sfdx-project.json value.","input":[],"multiple":false,"type":"option"},"versiondescription":{"kind":"string","char":"e","description":"the description of the package version to be created","longDescription":"The description of the package version to be created. Overrides the sfdx-project.json value.","input":[],"multiple":false,"type":"option"},"codecoverage":{"kind":"boolean","char":"c","description":"calculate the code coverage by running the packaged Apex tests","longDescription":"Calculate and store the code coverage percentage by running the Apex tests included in this package version. Before you can promote and release a managed or unlocked package version, the Apex code must meet a minimum 75% code coverage requirement. We don’t calculate code coverage for org-dependent unlocked packages or for package versions that specify --skipvalidation.","default":false,"allowNo":false,"type":"boolean"},"releasenotesurl":{"kind":"url","description":"release notes URL","longDescription":"The release notes URL. This link is displayed in the package installation UI to provide release notes for this package version to subscribers.","input":[],"multiple":false,"type":"option"},"postinstallurl":{"kind":"url","description":"post-install URL","longDescription":"The post-install instructions URL. The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.","input":[],"multiple":false,"type":"option"},"postinstallscript":{"kind":"string","description":"post-install script name; managed packages only","longDescription":"Applies to managed packages only. The post-install script name. The post-install script is an Apex class within this package that is run in the installing org after installations or upgrades of this package version.","input":[],"multiple":false,"type":"option"},"uninstallscript":{"kind":"string","description":"uninstall script name; managed packages only","longDescription":"Applies to managed packages only. The uninstall script name. The uninstall script is an Apex class within this package that is run in the installing org after uninstallations of this package.","input":[],"multiple":false,"type":"option"},"skipvalidation":{"kind":"boolean","description":"skip validation during package version creation; you can’t promote unvalidated package versions","longDescription":"Skips validation of dependencies, package ancestors, and metadata during package version creation. Skipping validation reduces the time it takes to create a new package version, but you can promote only validated package versions. Skipping validation can suppress important errors that can surface at a later stage. You can specify skip validation or code coverage, but not both. Code coverage is calculated during validation.","default":false,"allowNo":false,"type":"boolean"},"skipancestorcheck":{"kind":"boolean","description":"Overrides ancestry requirements.","longDescription":"Override ancestry requirements, which allows you to specify a package ancestor that isn’t the highest released package version.","default":false,"allowNo":false,"type":"boolean"}}},"force:package:beta:version:delete":{"id":"force:package:beta:version:delete","description":"delete a package version","strict":true,"usage":"<%= command.id %> -p <string> [-n] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"n","description":"don’t prompt before deleting the package version","allowNo":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 04t) or alias of the package to update a version of","required":true,"multiple":false},"undelete":{"name":"undelete","type":"boolean","description":"undelete a deleted package version","hidden":true,"allowNo":false}},"args":[],"longDescription":"Delete unlocked and second-generation managed package versions.","help":"Specify the ID or alias of the package version you want to delete.\n\nExamples:\n$ sfdx force:package:version:delete -p \"Your Package Alias\"\n$ sfdx force:package:version:delete -p 04t...","orgType":"target-dev-hub","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"noprompt":{"kind":"boolean","char":"n","description":"don’t prompt before deleting the package version","longDescription":"don’t prompt before deleting the package version","allowNo":false,"type":"boolean"},"package":{"kind":"string","char":"p","description":"ID (starts with 04t) or alias of the package to update a version of","longDescription":"The ID (starts with 04t) or alias of the package version to delete.","required":true,"input":[],"multiple":false,"type":"option"},"undelete":{"kind":"boolean","description":"undelete a deleted package version","longDescription":"Undelete a deleted package version.","hidden":true,"allowNo":false,"type":"boolean"}}},"force:package:beta:version:displayancestry":{"id":"force:package:beta:version:displayancestry","description":"display the ancestry tree for a 2GP managed package version","strict":true,"usage":"<%= command.id %> -p <string> [--dotcode] [-v <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for","required":true,"multiple":false},"dotcode":{"name":"dotcode","type":"boolean","description":"display the ancestry tree in DOT code","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"display both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree","allowNo":false}},"args":[],"longDescription":"Displays the ancestry tree for a 2GP managed package version.","help":"Examples:\n$ sfdx force:package:version:displayancestry -p package_version_alias\n$ sfdx force:package:version:displayancestry -p package_version_alias --dotcode\n$ sfdx force:package:version:displayancestry -p OHo...\n$ sfdx force:package:version:displayancestry -p 04t...","showProgress":false,"varargs":false,"orgType":"defaultdevhubusername","requiresDevhubUsername":true,"flagsConfig":{"package":{"kind":"string","char":"p","description":"ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for","longDescription":"The ID or alias of the package or package version to display ancestry for. If you specify a package ID (starts with 0Ho) or alias, the ancestor tree for every package version associated with the package ID is displayed.\nIf you specify a package version (starts with 04t) or alias, the ancestry tree of the specified package version is displayed.","required":true,"input":[],"multiple":false,"type":"option"},"dotcode":{"kind":"boolean","description":"display the ancestry tree in DOT code","longDescription":"Displays the ancestry tree in DOT code. You can use the DOT code output in graph visualization software to create tree visualizations.","allowNo":false,"type":"boolean"},"verbose":{"description":"display both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree","longDescription":"Displays both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree.","type":"boolean","kind":"boolean","allowNo":false}}},"force:package:beta:version:list":{"id":"force:package:beta:version:list","description":"list all package versions in the Dev Hub org","strict":true,"usage":"<%= command.id %> [-c <number>] [-m <number>] [-p <array>] [-r] [-o <array>] [-v <string>] [--apiversion <string>] [--concise] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"createdlastdays":{"name":"createdlastdays","type":"option","char":"c","description":"created in the last specified number of days (starting at 00:00:00 of first day to now; 0 for today)","multiple":false},"concise":{"name":"concise","type":"boolean","description":"display limited package version details","allowNo":false},"modifiedlastdays":{"name":"modifiedlastdays","type":"option","char":"m","description":"list items modified in the specified last number of days (starting at 00:00:00 of first day to now; 0 for today)","multiple":false},"packages":{"name":"packages","type":"option","char":"p","description":"filter results on specified comma-delimited packages (aliases or 0Ho IDs)","multiple":false},"released":{"name":"released","type":"boolean","char":"r","description":"display released versions only","allowNo":false},"orderby":{"name":"orderby","type":"option","char":"o","description":"order by the specified package version fields","multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"display extended package version details","allowNo":false}},"args":[],"longDescription":"Lists all package versions in the Dev Hub org.","help":"Displays details of each package version in the org.\n\nUse --concise or --verbose to display limited or additional details, respectively.\n\nAll filter parameters are applied using the AND logical operator (not OR).\n\nExamples:\n$ sfdx force:package:version:list --verbose --createdlastdays 3 --released --orderby PatchVersion\n$ sfdx force:package:version:list --packages 0Ho000000000000,0Ho000000000001 --released --modifiedlastdays 0\n$ sfdx force:package:version:list --released\n$ sfdx force:package:version:list --concise --modifiedlastdays 0\n$ sfdx force:package:version:list --concise -c 3 -r\n$ sfdx force:package:version:list --packages exp-mgr,exp-mgr-util --released --modifiedlastdays 0","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"flagsConfig":{"createdlastdays":{"kind":"number","char":"c","description":"created in the last specified number of days (starting at 00:00:00 of first day to now; 0 for today)","longDescription":"Filters the list based on the specified maximum number of days since the request was created (starting at 00:00:00 of first day to now; 0 for today).","input":[],"multiple":false,"type":"option"},"concise":{"description":"display limited package version details","longDescription":"Displays limited package version details.","type":"boolean","kind":"boolean","allowNo":false},"modifiedlastdays":{"kind":"number","char":"m","description":"list items modified in the specified last number of days (starting at 00:00:00 of first day to now; 0 for today)","longDescription":"Lists the items modified in the specified last number of days, starting at 00:00:00 of first day to now. Use 0 for today.","input":[],"multiple":false,"type":"option"},"packages":{"kind":"array","char":"p","description":"filter results on specified comma-delimited packages (aliases or 0Ho IDs)","longDescription":"Filters results on the specified comma-delimited packages (aliases or 0Ho IDs).","input":[],"multiple":false,"type":"option"},"released":{"kind":"boolean","char":"r","description":"display released versions only","longDescription":"Displays released versions only (IsReleased=true).","allowNo":false,"type":"boolean"},"orderby":{"kind":"array","char":"o","description":"order by the specified package version fields","longDescription":"Orders the list by the specified package version fields.","input":[],"multiple":false,"type":"option"},"verbose":{"description":"display extended package version details","longDescription":"Displays extended package version details.","type":"boolean","kind":"boolean","allowNo":false}}},"force:package:beta:version:promote":{"id":"force:package:beta:version:promote","description":"promote a package version to released","strict":true,"usage":"<%= command.id %> -p <string> [-n] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 04t) or alias of the package version to promote","required":true,"multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"n","description":"no prompt to confirm setting the package version as released","allowNo":false}},"args":[],"longDescription":"Promotes a package version to released status.","help":"Supply the ID or alias of the package version you want to promote. Promotes the package version to released status.\n\nExamples:\n$ sfdx force:package:version:promote -p 04t...\n$ sfdx force:package:version:promote -p awesome_package_alias\n$ sfdx force:package:version:promote -p \"Awesome Package Alias\"","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"package":{"kind":"string","char":"p","description":"ID (starts with 04t) or alias of the package version to promote","longDescription":"The ID (starts with 04t) or alias of the package version to promote.","required":true,"input":[],"multiple":false,"type":"option"},"noprompt":{"kind":"boolean","char":"n","description":"no prompt to confirm setting the package version as released","longDescription":"Do not prompt to confirm setting the package version as released.","allowNo":false,"type":"boolean"}}},"force:package:beta:version:report":{"id":"force:package:beta:version:report","description":"retrieve details about a package version in the Dev Hub org","strict":true,"usage":"<%= command.id %> -p <string> [-v <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 04t) or alias of the package to retrieve details for","required":true,"multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"displays extended package version details","allowNo":false}},"args":[],"longDescription":"Retrieves details about a package version in the Dev Hub org.","help":"Examples:\n$ sfdx force:package:version:report -p 04t...\n$ sfdx force:package:version:report -p \"Your Package Alias\"\n\nTo update package version values, run \"sfdx force:package:version:update\".","orgType":"target-dev-hub","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"package":{"kind":"string","char":"p","description":"ID (starts with 04t) or alias of the package to retrieve details for","longDescription":"The ID (starts with 04t) or alias of the package to retrieve details for.","required":true,"input":[],"multiple":false,"type":"option"},"verbose":{"description":"displays extended package version details","longDescription":"Displays extended package version details.","type":"boolean","kind":"boolean","allowNo":false}}},"force:package:beta:version:update":{"id":"force:package:beta:version:update","description":"update a package version","strict":true,"usage":"<%= command.id %> -p <string> [-a <string>] [-e <string>] [-b <string>] [-t <string>] [-k <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 04t) or alias of the package to update a version of","required":true,"multiple":false},"versionname":{"name":"versionname","type":"option","char":"a","description":"new package version name","multiple":false},"versiondescription":{"name":"versiondescription","type":"option","char":"e","description":"new package version description","multiple":false},"branch":{"name":"branch","type":"option","char":"b","description":"new package version branch","multiple":false},"tag":{"name":"tag","type":"option","char":"t","description":"new package version tag","multiple":false},"installationkey":{"name":"installationkey","type":"option","char":"k","description":"new installation key for key-protected package (default: null)","multiple":false}},"args":[],"longDescription":"Updates a second-generation package version in the Dev Hub org.","help":"Specify a new value for each option you want to update.\n\nExamples:\n$ sfdx force:package:version:update -p \"Your Package Alias\" -k password123\n$ sfdx force:package:version:update -p 04t... -b main -t 'Release 1.0.7'\n$ sfdx force:package:version:update -p 04t... -e \"New Package Version Description\"\n\nTo display details about a package version, run \"sfdx force:package:version:report\".","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"package":{"kind":"string","char":"p","description":"ID (starts with 04t) or alias of the package to update a version of","longDescription":"The ID (starts with 04t) or alias of the package to update a version of.","required":true,"input":[],"multiple":false,"type":"option"},"versionname":{"kind":"string","char":"a","description":"new package version name","longDescription":"The new package version name.","input":[],"multiple":false,"type":"option"},"versiondescription":{"kind":"string","char":"e","description":"new package version description","longDescription":"The new package version description.","input":[],"multiple":false,"type":"option"},"branch":{"kind":"string","char":"b","description":"new package version branch","longDescription":"The new package version branch.","input":[],"multiple":false,"type":"option"},"tag":{"kind":"string","char":"t","description":"new package version tag","longDescription":"The new package version tag.","input":[],"multiple":false,"type":"option"},"installationkey":{"kind":"string","char":"k","description":"new installation key for key-protected package (default: null)","longDescription":"The new installation key for the key-protected package. The default is null.","input":[],"multiple":false,"type":"option"}}},"force:package1:beta:version:create":{"id":"force:package1:beta:version:create","description":"create a first-generation package version in the release org","strict":true,"usage":"<%= command.id %> -i <id> -n <string> [-d <string>] [-v <string>] [-m] [-r <url>] [-p <url>] [-k <string>] [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"packageid":{"name":"packageid","type":"option","char":"i","description":"ID of the metadata package (starts with 033) of which you’re creating a new version","required":true,"multiple":false},"name":{"name":"name","type":"option","char":"n","description":"package version name","required":true,"multiple":false},"description":{"name":"description","type":"option","char":"d","description":"package version description","multiple":false},"version":{"name":"version","type":"option","char":"v","description":"package version in major.minor format, for example, 3.2","multiple":false},"managedreleased":{"name":"managedreleased","type":"boolean","char":"m","description":"create a managed package version","allowNo":false},"releasenotesurl":{"name":"releasenotesurl","type":"option","char":"r","description":"release notes URL","multiple":false},"postinstallurl":{"name":"postinstallurl","type":"option","char":"p","description":"post install URL","multiple":false},"installationkey":{"name":"installationkey","type":"option","char":"k","description":"installation key for key-protected package (default: null)","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"minutes to wait for the package version to be created (default: 2 minutes)","multiple":false}},"args":[],"longDescription":"Creates a first-generation package version in the release org.","help":"The package version is based on the contents of the specified metadata package. Omit -m if you want to create an unmanaged package version.","requiresUsername":true,"requiresProject":true,"flagsConfig":{"packageid":{"kind":"id","char":"i","description":"ID of the metadata package (starts with 033) of which you’re creating a new version","longDescription":"ID of the metadata package (starts with 033) of which you’re creating a new version.","required":true,"input":[],"multiple":false,"type":"option"},"name":{"kind":"string","char":"n","description":"package version name","longDescription":"Package version name.","required":true,"input":[],"multiple":false,"type":"option"},"description":{"kind":"string","char":"d","description":"package version description","longDescription":"Package version description.","input":[],"multiple":false,"type":"option"},"version":{"kind":"string","char":"v","description":"package version in major.minor format, for example, 3.2","longDescription":"Package version in major.minor format, for example, 3.2.","input":[],"multiple":false,"type":"option"},"managedreleased":{"kind":"boolean","char":"m","description":"create a managed package version","longDescription":"Creates a managed package version. To create a beta version, don’t include this parameter.","allowNo":false,"type":"boolean"},"releasenotesurl":{"kind":"url","char":"r","description":"release notes URL","longDescription":"The release notes URL. This link is displayed in the package installation UI to provide release notes for this package version to subscribers.","input":[],"multiple":false,"type":"option"},"postinstallurl":{"kind":"url","char":"p","description":"post install URL","longDescription":"The post-install instructions URL. The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.","input":[],"multiple":false,"type":"option"},"installationkey":{"kind":"string","char":"k","description":"installation key for key-protected package (default: null)","longDescription":"Installation key for creating the key-protected package. The default is null.","input":[],"multiple":false,"type":"option"},"wait":{"kind":"minutes","char":"w","description":"minutes to wait for the package version to be created (default: 2 minutes)","longDescription":"Minutes to wait for the package version to be created. The default is 2 minutes.","input":[],"multiple":false,"type":"option"}}},"force:package1:beta:version:display":{"id":"force:package1:beta:version:display","description":"display details about a first-generation package version","strict":true,"usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"packageversionid":{"name":"packageversionid","type":"option","char":"i","description":"metadata package version ID (starts with 04t)","required":true,"multiple":false}},"args":[],"help":"Display detailed information about an individual package version, including metadata package ID, name, the release state, and build number.","requiresUsername":true,"flagsConfig":{"packageversionid":{"kind":"id","char":"i","description":"metadata package version ID (starts with 04t)","longDescription":"ID (starts with 04t) of the metadata package version whose details you want to display.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:package1:beta:version:list":{"id":"force:package1:beta:version:list","description":"list package versions for the specified first-generation package or for the org","strict":true,"usage":"<%= command.id %> [-i <id>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"packageid":{"name":"packageid","type":"option","char":"i","description":"metadata package ID (starts with 033)","multiple":false}},"args":[],"longDescription":"Lists the versions for the specified package or all first-generation packages in the org.","help":"If a metadata package ID is specified, lists all versions of the specified package. Otherwise, lists all package versions for the org. For each package version, the list includes the package version ID, metadata package ID, name, version number, and release state.","requiresUsername":true,"flagsConfig":{"packageid":{"kind":"id","char":"i","description":"metadata package ID (starts with 033)","longDescription":"Metadata package ID (starts with 033) whose package versions you want to list. If not specified, shows all versions for all packages (managed and unmanaged) in the org.","input":[],"multiple":false,"type":"option"}}},"force:package:beta:version:create:list":{"id":"force:package:beta:version:create:list","description":"list package version creation requests","strict":true,"usage":"<%= command.id %> [-c <number>] [-s Queued|InProgress|Success|Error] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"createdlastdays":{"name":"createdlastdays","type":"option","char":"c","description":"created in the last specified number of days (starting at 00:00:00 of first day to now; 0 for today)","multiple":false},"status":{"name":"status","type":"option","char":"s","description":"filter the list by version creation request status","helpValue":"(Queued|InProgress|Success|Error)","multiple":false,"options":["Queued","InProgress","Success","Error"]}},"args":[],"longDescription":"Lists all requests to create second-generation package versions in the Dev Hub org.","help":"Shows the details of each request to create a package version in the Dev Hub org.\n\nAll filter parameters are applied using the AND logical operator (not OR).\n\nTo get information about a specific request, run \"sfdx force:package:version:create:report\" and supply the request ID.\n\nExamples:\n$ sfdx force:package:version:create:list\n$ sfdx force:package:version:create:list --createdlastdays 3\n$ sfdx force:package:version:create:list --status Error\n$ sfdx force:package:version:create:list -s InProgress\n$ sfdx force:package:version:create:list -c 3 -s Success","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"flagsConfig":{"createdlastdays":{"kind":"number","char":"c","description":"created in the last specified number of days (starting at 00:00:00 of first day to now; 0 for today)","longDescription":"Filters the list based on the specified maximum number of days since the request was created (starting at 00:00:00 of first day to now; 0 for today).","input":[],"multiple":false,"type":"option"},"status":{"kind":"enum","helpValue":"(Queued|InProgress|Success|Error)","char":"s","description":"filter the list by version creation request status","longDescription":"Filters the list based on the status of version creation requests.","options":["Queued","InProgress","Success","Error"],"input":[],"multiple":false,"type":"option"}}},"force:package:beta:version:create:report":{"id":"force:package:beta:version:create:report","description":"retrieve details about a package version creation request","strict":true,"usage":"<%= command.id %> -i <id> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"packagecreaterequestid":{"name":"packagecreaterequestid","type":"option","char":"i","description":"package version creation request ID (starts with 08c)","required":true,"multiple":false}},"args":[],"longDescription":"Retrieves details about a package version creation request in the Dev Hub org.","help":"Specify the request ID for which you want to view details. If applicable, the command displays errors related to the request.\n\nExamples:\n$ sfdx force:package:version:create:report -i 08c...\n$ sfdx force:package:version:create:report -i 08c... -v devhub@example.com\n\nTo show all requests in the org, run \"sfdx force:package:version:create:list\".","requiresDevhubUsername":true,"flagsConfig":{"packagecreaterequestid":{"kind":"id","char":"i","description":"package version creation request ID (starts with 08c)","longDescription":"The ID (starts with 08c) of the package version creation request you want to display.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:package1:beta:version:create:get":{"id":"force:package1:beta:version:create:get","description":"retrieve the status of a package version creation request","strict":true,"usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"examples":["Examples:","$ sfdx force:package1:version:create:get -i 0HD...","$ sfdx force:package1:version:create:get -i 0HD... -u devhub@example.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"requestid":{"name":"requestid","type":"option","char":"i","description":"PackageUploadRequest ID","required":true,"multiple":false}},"args":[],"requiresUsername":true,"flagsConfig":{"requestid":{"kind":"id","char":"i","description":"PackageUploadRequest ID","longDescription":"The ID of the PackageUploadRequest.","required":true,"input":[],"multiple":false,"type":"option"}}}}}
1
+ {"version":"1.2.1","commands":{"force:package:beta:convert":{"id":"force:package:beta:convert","description":"creates a second-generation package version from a first-generation package","strict":true,"usage":"<%= command.id %> -p <id> [-k <string>] [-x] [-w <minutes>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 033) of the first-generation package to convert","required":true,"multiple":false},"installationkey":{"name":"installationkey","type":"option","char":"k","description":"installation key for key-protected package (either --installationkey or --installationkeybypass is required)","multiple":false},"installationkeybypass":{"name":"installationkeybypass","type":"boolean","char":"x","description":"bypass the installation key requirement (either --installationkey or --installationkeybypass is required)","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"minutes to wait for the package version to be created","multiple":false,"default":{"quantity":0,"unit":0}},"buildinstance":{"name":"buildinstance","type":"option","char":"s","description":"the instance where the conversion package version will be created——for example, NA50","hidden":true,"multiple":false}},"args":[],"longDescription":"Creates a second-generation package in the Dev Hub from a first-generation package in the Dev Hub org.","help":"The package convert creates a new package in the Dev Hub if one does not already exist for the specified first-generation package.\n\nIt then creates a new package version in the Dev Hub with contents based on the specified first-generation package.\n\nThe latest released non-patch package version from the specified first-generation package will be converted.\n\nTo retrieve details about a package version create request, including status and package version ID (04t), run \"sfdx force:package:version:create:report -i 08c...\".\n\nWe recommend specifying the --installationkey to protect the contents of your package and to prevent unauthorized installation of your package.\n\nTo list package version creation requests in the org, run \"sfdx force:package:version:create:list\".\n\nExamples:\n$ sfdx force:package:convert --package 033xx0000004Gmn -k password123","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"flagsConfig":{"package":{"kind":"id","char":"p","description":"ID (starts with 033) of the first-generation package to convert","longDescription":"The ID (starts with 033) or alias of the package to convert.","required":true,"validate":{},"input":[],"multiple":false,"type":"option"},"installationkey":{"kind":"string","char":"k","description":"installation key for key-protected package (either --installationkey or --installationkeybypass is required)","longDescription":"Installation key for creating the key-protected package. Either an --installationkey value or the --installationkeybypass flag is required.","exactlyOne":["installationkey","installationkeybypass"],"input":[],"multiple":false,"type":"option"},"installationkeybypass":{"kind":"boolean","char":"x","description":"bypass the installation key requirement (either --installationkey or --installationkeybypass is required)","longDescription":"Bypasses the installation key requirement. If you bypass this requirement, anyone can install your package. Either an --installationkey value or the --installationkeybypass flag is required.","exactlyOne":["installationkey","installationkeybypass"],"allowNo":false,"type":"boolean"},"wait":{"kind":"minutes","char":"w","description":"minutes to wait for the package version to be created","longDescription":"The number of minutes to wait for the package version to be created.","default":{"quantity":0,"unit":0},"input":[],"multiple":false,"type":"option"},"buildinstance":{"kind":"string","char":"s","description":"the instance where the conversion package version will be created——for example, NA50","longDescription":"The instance where the conversion package version will be created——for example, NA50.","hidden":true,"input":[],"multiple":false,"type":"option"}}},"force:package:beta:create":{"id":"force:package:beta:create","description":"create a package","strict":true,"usage":"<%= command.id %> -n <string> -t Managed|Unlocked -r <directory> [-d <string>] [-e] [--orgdependent] [-o <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"name":{"name":"name","type":"option","char":"n","description":"package name","required":true,"multiple":false},"packagetype":{"name":"packagetype","type":"option","char":"t","description":"package type","required":true,"helpValue":"(Managed|Unlocked)","multiple":false,"options":["Managed","Unlocked"]},"description":{"name":"description","type":"option","char":"d","description":"package description","multiple":false},"nonamespace":{"name":"nonamespace","type":"boolean","char":"e","description":"creates the package with no namespace; available only for unlocked packages.","allowNo":false},"path":{"name":"path","type":"option","char":"r","description":"path to directory that contains the contents of the package","required":true,"multiple":false},"orgdependent":{"name":"orgdependent","type":"boolean","description":"depends on unpackaged metadata in the installation org. Applies to unlocked packages only.","allowNo":false},"errornotificationusername":{"name":"errornotificationusername","type":"option","char":"o","description":"active Dev Hub user designated to receive email notifications for package errors","multiple":false}},"args":[],"longDescription":"Creates a package.","help":"First, use this command to create a package. Then create a package version.\n\nIf you don’t have a namespace defined in your sfdx-project.json file, use --nonamespace.\n\nYour --name value must be unique within your namespace.\n\nExamples:\n$ sfdx force:package:create -n YourPackageName -t Unlocked -r force-app\n$ sfdx force:package:create -n YourPackageName -d \"Your Package Descripton\" -t Unlocked -r force-app\n\nRun 'sfdx force:package:list' to list all packages in the Dev Hub org.","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"name":{"kind":"string","char":"n","description":"package name","longDescription":"Name of the package to create.","required":true,"input":[],"multiple":false,"type":"option"},"packagetype":{"kind":"enum","helpValue":"(Managed|Unlocked)","char":"t","description":"package type","longDescription":"Package type for the package.\nThe options for package type are Managed and Unlocked (Managed=DeveloperManagedSubscriberManaged, Unlocked=DeveloperControlledSubscriberEditable).\nThese options determine upgrade and editability rules.","required":true,"options":["Managed","Unlocked"],"input":[],"multiple":false,"type":"option"},"description":{"kind":"string","char":"d","description":"package description","longDescription":"Description of the package.","input":[],"multiple":false,"type":"option"},"nonamespace":{"kind":"boolean","char":"e","description":"creates the package with no namespace; available only for unlocked packages.","longDescription":"Creates the package with no namespace. Available only for unlocked packages. Useful when you’re migrating an existing org to packages. But, use a namespaced package for new metadata.","allowNo":false,"type":"boolean"},"path":{"kind":"directory","char":"r","description":"path to directory that contains the contents of the package","longDescription":"The path to the directory that contains the contents of the package.","required":true,"input":[],"multiple":false,"type":"option"},"orgdependent":{"kind":"boolean","description":"depends on unpackaged metadata in the installation org. Applies to unlocked packages only.","longDescription":"Package depends on unpackaged metadata in the installation org. Applies to unlocked packages only.\nUse Source Tracking in Sandboxes to develop your org-dependent unlocked package.\nFor more information, see \"Create Org-Dependent Unlocked Packages\" in the Salesforce DX Developer Guide.","allowNo":false,"type":"boolean"},"errornotificationusername":{"kind":"string","char":"o","description":"active Dev Hub user designated to receive email notifications for package errors","longDescription":"An active Dev Hub org user designated to receive email notifications for unhandled Apex exceptions, and install, upgrade, or uninstall failures associated with your package.","input":[],"multiple":false,"type":"option"}}},"force:package:beta:delete":{"id":"force:package:beta:delete","description":"delete a package","strict":true,"usage":"<%= command.id %> -p <string> [-n] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"n","description":"don’t prompt before deleting the package","allowNo":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 0Ho) or alias of the package to delete","required":true,"multiple":false},"undelete":{"name":"undelete","type":"boolean","description":"undelete a deleted package","hidden":true,"allowNo":false}},"args":[],"longDescription":"Delete unlocked and second-generation managed packages. Before you delete a package, first delete all associated package versions.","help":"Specify the ID or alias of the package you want to delete.\n\nExamples:\n$ sfdx force:package:delete -p \"Your Package Alias\"\n$ sfdx force:package:delete -p 0Ho...","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"noprompt":{"kind":"boolean","char":"n","description":"don’t prompt before deleting the package","longDescription":"Don’t prompt before deleting the package.","allowNo":false,"type":"boolean"},"package":{"kind":"string","char":"p","description":"ID (starts with 0Ho) or alias of the package to delete","longDescription":"The ID (starts with 0Ho) or alias of the package to delete.","required":true,"input":[],"multiple":false,"type":"option"},"undelete":{"kind":"boolean","description":"undelete a deleted package","longDescription":"Undelete a deleted package.","hidden":true,"allowNo":false,"type":"boolean"}}},"force:package:beta:install":{"id":"force:package:beta:install","description":"install a package in the target org","strict":true,"usage":"<%= command.id %> -p <string> [-w <minutes>] [-k <string>] [-b <minutes>] [-r] [-a all|package] [-s AllUsers|AdminsOnly] [-t DeprecateOnly|Mixed|Delete] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"number of minutes to wait for installation status","multiple":false},"installationkey":{"name":"installationkey","type":"option","char":"k","description":"installation key for key-protected package (default: null)","multiple":false},"publishwait":{"name":"publishwait","type":"option","char":"b","description":"number of minutes to wait for subscriber package version ID to become available in the target org","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"r","description":"do not prompt for confirmation","allowNo":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 04t) or alias of the package version to install","required":true,"multiple":false},"apexcompile":{"name":"apexcompile","type":"option","char":"a","description":"compile all Apex in the org and package, or only Apex in the package; unlocked packages only","helpValue":"(all|package)","multiple":false,"options":["all","package"],"default":"all"},"securitytype":{"name":"securitytype","type":"option","char":"s","description":"security access type for the installed package (deprecation notice: The default --securitytype value will change from AllUsers to AdminsOnly in v47.0 or later.)","helpValue":"(AllUsers|AdminsOnly)","multiple":false,"options":["AllUsers","AdminsOnly"],"default":"AdminsOnly"},"upgradetype":{"name":"upgradetype","type":"option","char":"t","description":"the upgrade type for the package installation; available only for unlocked packages","helpValue":"(DeprecateOnly|Mixed|Delete)","multiple":false,"options":["DeprecateOnly","Mixed","Delete"],"default":"Mixed"}},"args":[],"longDescription":"Installs a package in the target org.","help":"Supply the ID of the package version to install. The package installs in your default target org unless you supply the username for a different target org.\n\nFor package upgrades, to specify options for component deprecation or deletion of removed components, include an --upgradetype value. To delete components that can be safely deleted and deprecate the others, specify --upgradetype Mixed (the default). To deprecate all removed components, specify --upgradetype DeprecateOnly. To delete all removed components, except for custom objects and custom fields, that don't have dependencies, specify --upgradetype Delete. (Note: This option can result in the loss of data that is associated with the deleted components.) The default is Mixed.\n\nExamples:\n$ sfdx force:package:beta:install --package 04t... -u me@example.com\n$ sfdx force:package:beta:install --package awesome_package_alias\n$ sfdx force:package:beta:install --package \"Awesome Package Alias\"\n$ sfdx force:package:beta:install --package 04t... -t DeprecateOnly","requiresUsername":true,"flagsConfig":{"wait":{"kind":"minutes","char":"w","description":"number of minutes to wait for installation status","longDescription":"Maximum number of minutes to wait for installation status. The default is 0.","input":[],"multiple":false,"type":"option"},"installationkey":{"kind":"string","char":"k","description":"installation key for key-protected package (default: null)","longDescription":"Installation key for installing a key-protected package. The default is null.","input":[],"multiple":false,"type":"option"},"publishwait":{"kind":"minutes","char":"b","description":"number of minutes to wait for subscriber package version ID to become available in the target org","longDescription":"Maximum number of minutes to wait for the Subscriber Package Version ID to become available in the target org before canceling the install request. The default is 0.","input":[],"multiple":false,"type":"option"},"noprompt":{"kind":"boolean","char":"r","description":"do not prompt for confirmation","longDescription":"Allows the following without an explicit confirmation response: 1) Remote Site Settings and Content Security Policy websites to send or receive data, and 2) --upgradetype Delete to proceed.","allowNo":false,"type":"boolean"},"package":{"kind":"string","char":"p","description":"ID (starts with 04t) or alias of the package version to install","longDescription":"The ID (starts with 04t) or alias of the package version to install.","required":true,"input":[],"multiple":false,"type":"option"},"apexcompile":{"kind":"enum","helpValue":"(all|package)","char":"a","description":"compile all Apex in the org and package, or only Apex in the package; unlocked packages only","longDescription":"Applies to unlocked packages only. Specifies whether to compile all Apex in the org and package, or only the Apex in the package.\nFor package installs into production orgs, or any org that has Apex Compile on Deploy enabled, the platform compiles all Apex in the org after the package install or upgrade operation completes.\nThis approach assures that package installs and upgrades don’t impact the performance of an org, and is done even if --apexcompile package is specified.","default":"all","options":["all","package"],"input":[],"multiple":false,"type":"option"},"securitytype":{"kind":"enum","helpValue":"(AllUsers|AdminsOnly)","char":"s","description":"security access type for the installed package (deprecation notice: The default --securitytype value will change from AllUsers to AdminsOnly in v47.0 or later.)","longDescription":"Security access type for the installed package.","default":"AdminsOnly","options":["AllUsers","AdminsOnly"],"input":[],"multiple":false,"type":"option"},"upgradetype":{"kind":"enum","helpValue":"(DeprecateOnly|Mixed|Delete)","char":"t","description":"the upgrade type for the package installation; available only for unlocked packages","longDescription":"For package upgrades, specifies whether to mark all removed components as deprecated (DeprecateOnly), to delete removed components that can be safely deleted and deprecate the others (Mixed), or to delete all removed components, except for custom objects and custom fields, that don't have dependencies (Delete). The default is Mixed. Can specify DeprecateOnly or Delete only for unlocked package upgrades.","default":"Mixed","options":["DeprecateOnly","Mixed","Delete"],"input":[],"multiple":false,"type":"option"}}},"force:package:beta:list":{"id":"force:package:beta:list","description":"list all packages in the Dev Hub org","strict":true,"usage":"<%= command.id %> [-v <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"display extended package detail","allowNo":false}},"args":[],"longDescription":"Lists all packages in the Dev Hub org.","help":"You can view the namespace, IDs, and other details for each package.\n\nExamples:\n$ sfdx force:package:list -v devhub@example.com\n$ sfdx force:package:list -v devhub@example.com --verbose","requiresProject":true,"orgType":"target-dev-hub","requiresDevhubUsername":true,"flagsConfig":{"verbose":{"description":"display extended package detail","longDescription":"Displays extended package details.","type":"boolean","kind":"boolean","allowNo":false}}},"force:package:beta:uninstall":{"id":"force:package:beta:uninstall","description":"uninstall a second-generation package from the target org","strict":true,"usage":"<%= command.id %> [-w <minutes>] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"number of minutes to wait for uninstall status","multiple":false,"default":{"quantity":0,"unit":0}},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 04t) or alias of the package version to uninstall","multiple":false}},"args":[],"longDescription":"Uninstalls a second-generation package from the target org. To uninstall a first-generation package, use the Salesforce user interface.","help":"Specify the package ID for a second-generation package.\n\nExamples:\n$ sfdx force:package:beta:uninstall -p 04t... -u me@example.com\n$ sfdx force:package:beta:uninstall -p undesirable_package_alias\n$ sfdx force:package:beta:uninstall -p \"Undesirable Package Alias\"\n\nTo list the org’s installed packages, run \"sfdx force:package:beta:installed:list\".\n\nTo uninstall a first-generation package, from Setup, enter Installed Packages in the Quick Find box, then select Installed Packages.","requiresUsername":true,"flagsConfig":{"wait":{"kind":"minutes","char":"w","description":"number of minutes to wait for uninstall status","longDescription":"Maximum number of minutes to wait for uninstall status. The default is 0.","default":{"quantity":0,"unit":0},"input":[],"multiple":false,"type":"option"},"package":{"kind":"string","char":"p","description":"ID (starts with 04t) or alias of the package version to uninstall","longDescription":"The ID (starts with 04t) or alias of the package version to uninstall.","input":[],"multiple":false,"type":"option"}}},"force:package:beta:update":{"id":"force:package:beta:update","description":"update package details","strict":true,"usage":"<%= command.id %> -p <string> [-n <string>] [-d <string>] [-o <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 0Ho) or alias of the package to update","required":true,"multiple":false},"name":{"name":"name","type":"option","char":"n","description":"new package name","multiple":false},"description":{"name":"description","type":"option","char":"d","description":"new package description","multiple":false},"errornotificationusername":{"name":"errornotificationusername","type":"option","char":"o","description":"active Dev Hub user designated to receive email notifications for package errors","multiple":false}},"args":[],"longDescription":"Updates details about a package. Does not create a package version.","help":"Specify a new value for each option you want to update.\n\nExamples:\n$ sfdx force:package:update -p \"Your Package Alias\" -n \"New Package Name\"\n$ sfdx force:package:update -p 0Ho... -d \"New Package Description\"\n\nRun \"sfdx force:package:list\" to list all packages in the Dev Hub org.","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"package":{"kind":"string","char":"p","description":"ID (starts with 0Ho) or alias of the package to update","longDescription":"The ID (starts with 0Ho) or alias of the package to update.","required":true,"input":[],"multiple":false,"type":"option"},"name":{"kind":"string","char":"n","description":"new package name","longDescription":"New name of the package.","input":[],"multiple":false,"type":"option"},"description":{"kind":"string","char":"d","description":"new package description","longDescription":"New description of the package.","input":[],"multiple":false,"type":"option"},"errornotificationusername":{"kind":"string","char":"o","description":"active Dev Hub user designated to receive email notifications for package errors","longDescription":"An active Dev Hub org user designated to receive email notifications for unhandled Apex exceptions, and install, upgrade, or uninstall failures associated with your package.","input":[],"multiple":false,"type":"option"}}},"force:package:beta:install:report":{"id":"force:package:beta:install:report","description":"retrieve the status of a package installation request","strict":true,"usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"requestid":{"name":"requestid","type":"option","char":"i","description":"ID of the package install request you want to check","required":true,"multiple":false}},"args":[],"longDescription":"Retrieves the status of a package installation request.","help":"Examples:\n$ sfdx force:package:install:report -i 0Hf...\n$ sfdx force:package:install:report -i 0Hf... -u me@example.com","requiresUsername":true,"flagsConfig":{"requestid":{"kind":"id","char":"i","description":"ID of the package install request you want to check","longDescription":"The ID of the package install request you want to check.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:package:beta:installed:list":{"id":"force:package:beta:installed:list","description":"list the org’s installed packages","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"examples":["$ sfdx force:package:installed:list","$ sfdx force:package:installed:list -u me@example.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"longDescription":"Lists all packages installed in the target org.","requiresUsername":true},"force:package:beta:uninstall:report":{"id":"force:package:beta:uninstall:report","description":"retrieve status of package uninstall request","strict":true,"usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"requestid":{"name":"requestid","type":"option","char":"i","description":"ID of the package uninstall request you want to check","required":true,"multiple":false}},"args":[],"longDescription":"Retrieves the status of a package uninstall request.","help":"Examples:\n$ sfdx force:package:uninstall:report -i 06y...\n$ sfdx force:package:uninstall:report -i 06y... -u me@example.com","requiresUsername":true,"flagsConfig":{"requestid":{"kind":"id","char":"i","description":"ID of the package uninstall request you want to check","longDescription":"The ID of the package uninstall request you want to check.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:package:beta:version:create":{"id":"force:package:beta:version:create","description":"create a package version","strict":true,"usage":"<%= command.id %> [-b <string>] [-c | --skipvalidation] [-f <filepath>] [-k <string>] [-x] [-p <string>] [-d <directory>] [--postinstallscript <string>] [--postinstallurl <url>] [--releasenotesurl <url>] [--skipancestorcheck] [-t <string>] [--uninstallscript <string>] [-e <string>] [-a <string>] [-n <string>] [-w <minutes>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"examples":["$ sfdx force:package:version:create -d common -k password123","$ sfdx force:package:version:create -p \"Your Package Alias\" -k password123","$ sfdx force:package:version:create -p 0Ho... -k password123","$ sfdx force:package:version:create -d common -k password123 --skipvalidation"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"branch":{"name":"branch","type":"option","char":"b","description":"the package version’s branch","multiple":false},"buildinstance":{"name":"buildinstance","type":"option","char":"s","description":"the instance where the package version will be created——for example, NA50","hidden":true,"multiple":false},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"calculate the code coverage by running the packaged Apex tests","allowNo":false,"exclusive":["skipvalidation"]},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to a definition file similar to scratch org definition file that contains the list of features and org preferences that the metadata of the package version depends on","multiple":false},"installationkey":{"name":"installationkey","type":"option","char":"k","description":"installation key for key-protected package (either --installationkey or --installationkeybypass is required)","multiple":false},"installationkeybypass":{"name":"installationkeybypass","type":"boolean","char":"x","description":"bypass the installation key requirement (either --installationkey or --installationkeybypass is required)","allowNo":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 0Ho) or alias of the package to create a version of","multiple":false},"path":{"name":"path","type":"option","char":"d","description":"path to directory that contains the contents of the package","multiple":false},"postinstallscript":{"name":"postinstallscript","type":"option","description":"post-install script name; managed packages only","multiple":false},"postinstallurl":{"name":"postinstallurl","type":"option","description":"post-install URL","multiple":false},"preserve":{"name":"preserve","type":"boolean","char":"r","description":"temp files are preserved that would otherwise be deleted","hidden":true,"allowNo":false},"releasenotesurl":{"name":"releasenotesurl","type":"option","description":"release notes URL","multiple":false},"skipancestorcheck":{"name":"skipancestorcheck","type":"boolean","description":"Overrides ancestry requirements.","allowNo":false},"skipvalidation":{"name":"skipvalidation","type":"boolean","description":"skip validation during package version creation; you can’t promote unvalidated package versions","allowNo":false,"exclusive":["codecoverage"]},"tag":{"name":"tag","type":"option","char":"t","description":"the package version’s tag","multiple":false},"uninstallscript":{"name":"uninstallscript","type":"option","description":"uninstall script name; managed packages only","multiple":false},"validateschema":{"name":"validateschema","type":"boolean","char":"j","description":"sfdx-project.json is validated against JSON schema","hidden":true,"allowNo":false},"versiondescription":{"name":"versiondescription","type":"option","char":"e","description":"the description of the package version to be created","multiple":false},"versionname":{"name":"versionname","type":"option","char":"a","description":"the name of the package version to be created","multiple":false},"versionnumber":{"name":"versionnumber","type":"option","char":"n","description":"the version number of the package version to be created","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"minutes to wait for the package version to be created","multiple":false,"default":{"quantity":0,"unit":0}}},"args":[],"longDescription":"Creates a package version in the Dev Hub org.","help":"The package version is based on the package contents in the specified directory.\n\nTo retrieve details about a package version create request, including status and package version ID (04t), run \"sfdx force:package:version:create:report -i 08c...\".\n\nWe recommend that you specify the --installationkey parameter to protect the contents of your package and to prevent unauthorized installation of your package.\n\nTo list package version creation requests in the org, run \"sfdx force:package:version:create:list\".\n\nTo promote a package version to released, you must use the --codecoverage parameter. The package must also meet the code coverage requirements. This requirement applies to both managed and unlocked packages.\n\nWe don’t calculate code coverage for org-dependent unlocked packages, or for package versions that specify --skipvalidation.","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"branch":{"kind":"string","char":"b","description":"the package version’s branch","longDescription":"Name of the branch in your source control system that the package version is based on.","input":[],"multiple":false,"type":"option"},"buildinstance":{"kind":"string","char":"s","description":"the instance where the package version will be created——for example, NA50","longDescription":"The instance where the package version will be created——for example, NA50.","hidden":true,"input":[],"multiple":false,"type":"option"},"codecoverage":{"kind":"boolean","char":"c","description":"calculate the code coverage by running the packaged Apex tests","longDescription":"Calculate and store the code coverage percentage by running the Apex tests included in this package version. Before you can promote and release a managed or unlocked package version, the Apex code must meet a minimum 75% code coverage requirement. We don’t calculate code coverage for org-dependent unlocked packages or for package versions that specify --skipvalidation.","default":false,"exclusive":["skipvalidation"],"allowNo":false,"type":"boolean"},"definitionfile":{"kind":"filepath","char":"f","description":"path to a definition file similar to scratch org definition file that contains the list of features and org preferences that the metadata of the package version depends on","longDescription":"The path to a definition file similar to scratch org definition file that contains the list of features and org preferences that the metadata of the package version depends on.","input":[],"multiple":false,"type":"option"},"installationkey":{"kind":"string","char":"k","description":"installation key for key-protected package (either --installationkey or --installationkeybypass is required)","longDescription":"Installation key for creating the key-protected package. Either an --installationkey value or the --installationkeybypass flag is required.","exactlyOne":["installationkey","installationkeybypass"],"input":[],"multiple":false,"type":"option"},"installationkeybypass":{"kind":"boolean","char":"x","description":"bypass the installation key requirement (either --installationkey or --installationkeybypass is required)","longDescription":"Bypasses the installation key requirement. If you bypass this requirement, anyone can install your package. Either an --installationkey value or the --installationkeybypass flag is required.","exactlyOne":["installationkey","installationkeybypass"],"allowNo":false,"type":"boolean"},"package":{"kind":"string","char":"p","description":"ID (starts with 0Ho) or alias of the package to create a version of","longDescription":"The ID (starts with 0Ho) or alias of the package to create a version of.","exactlyOne":["path","package"],"input":[],"multiple":false,"type":"option"},"path":{"kind":"directory","char":"d","description":"path to directory that contains the contents of the package","longDescription":"The path to the directory that contains the contents of the package.","exactlyOne":["path","package"],"input":[],"multiple":false,"type":"option"},"postinstallscript":{"kind":"string","description":"post-install script name; managed packages only","longDescription":"Applies to managed packages only. The post-install script name. The post-install script is an Apex class within this package that is run in the installing org after installations or upgrades of this package version.","input":[],"multiple":false,"type":"option"},"postinstallurl":{"kind":"url","description":"post-install URL","longDescription":"The post-install instructions URL. The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.","input":[],"multiple":false,"type":"option"},"preserve":{"kind":"boolean","char":"r","description":"temp files are preserved that would otherwise be deleted","longDescription":"Specifies that the temp files are preserved that would otherwise be deleted","hidden":true,"allowNo":false,"type":"boolean"},"releasenotesurl":{"kind":"url","description":"release notes URL","longDescription":"The release notes URL. This link is displayed in the package installation UI to provide release notes for this package version to subscribers.","input":[],"multiple":false,"type":"option"},"skipancestorcheck":{"kind":"boolean","description":"Overrides ancestry requirements.","longDescription":"Override ancestry requirements, which allows you to specify a package ancestor that isn’t the highest released package version.","default":false,"allowNo":false,"type":"boolean"},"skipvalidation":{"kind":"boolean","description":"skip validation during package version creation; you can’t promote unvalidated package versions","longDescription":"Skips validation of dependencies, package ancestors, and metadata during package version creation. Skipping validation reduces the time it takes to create a new package version, but you can promote only validated package versions. Skipping validation can suppress important errors that can surface at a later stage. You can specify skip validation or code coverage, but not both. Code coverage is calculated during validation.","default":false,"exclusive":["codecoverage"],"allowNo":false,"type":"boolean"},"tag":{"kind":"string","char":"t","description":"the package version’s tag","longDescription":"The package version’s tag.","input":[],"multiple":false,"type":"option"},"uninstallscript":{"kind":"string","description":"uninstall script name; managed packages only","longDescription":"Applies to managed packages only. The uninstall script name. The uninstall script is an Apex class within this package that is run in the installing org after uninstallations of this package.","input":[],"multiple":false,"type":"option"},"validateschema":{"kind":"boolean","char":"j","description":"sfdx-project.json is validated against JSON schema","longDescription":"Specifies that the sfdx-project.json file should be validated against JSON schema.","hidden":true,"allowNo":false,"type":"boolean"},"versiondescription":{"kind":"string","char":"e","description":"the description of the package version to be created","longDescription":"The description of the package version to be created. Overrides the sfdx-project.json value.","input":[],"multiple":false,"type":"option"},"versionname":{"kind":"string","char":"a","description":"the name of the package version to be created","longDescription":"The name of the package version to be created. Overrides the sfdx-project.json value.","input":[],"multiple":false,"type":"option"},"versionnumber":{"kind":"string","char":"n","description":"the version number of the package version to be created","longDescription":"The version number of the package version to be created. Overrides the sfdx-project.json value.","input":[],"multiple":false,"type":"option"},"wait":{"kind":"minutes","char":"w","description":"minutes to wait for the package version to be created","longDescription":"The number of minutes to wait for the package version to be created.","default":{"quantity":0,"unit":0},"input":[],"multiple":false,"type":"option"}}},"force:package:beta:version:delete":{"id":"force:package:beta:version:delete","description":"delete a package version","strict":true,"usage":"<%= command.id %> -p <string> [-n] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"n","description":"don’t prompt before deleting the package version","allowNo":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 04t) or alias of the package to update a version of","required":true,"multiple":false},"undelete":{"name":"undelete","type":"boolean","description":"undelete a deleted package version","hidden":true,"allowNo":false}},"args":[],"longDescription":"Delete unlocked and second-generation managed package versions.","help":"Specify the ID or alias of the package version you want to delete.\n\nExamples:\n$ sfdx force:package:version:delete -p \"Your Package Alias\"\n$ sfdx force:package:version:delete -p 04t...","orgType":"target-dev-hub","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"noprompt":{"kind":"boolean","char":"n","description":"don’t prompt before deleting the package version","longDescription":"don’t prompt before deleting the package version","allowNo":false,"type":"boolean"},"package":{"kind":"string","char":"p","description":"ID (starts with 04t) or alias of the package to update a version of","longDescription":"The ID (starts with 04t) or alias of the package version to delete.","required":true,"input":[],"multiple":false,"type":"option"},"undelete":{"kind":"boolean","description":"undelete a deleted package version","longDescription":"Undelete a deleted package version.","hidden":true,"allowNo":false,"type":"boolean"}}},"force:package:beta:version:displayancestry":{"id":"force:package:beta:version:displayancestry","description":"display the ancestry tree for a 2GP managed package version","strict":true,"usage":"<%= command.id %> -p <string> [--dotcode] [-v <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for","required":true,"multiple":false},"dotcode":{"name":"dotcode","type":"boolean","description":"display the ancestry tree in DOT code","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"display both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree","allowNo":false}},"args":[],"longDescription":"Displays the ancestry tree for a 2GP managed package version.","help":"Examples:\n$ sfdx force:package:version:displayancestry -p package_version_alias\n$ sfdx force:package:version:displayancestry -p package_version_alias --dotcode\n$ sfdx force:package:version:displayancestry -p OHo...\n$ sfdx force:package:version:displayancestry -p 04t...","showProgress":false,"varargs":false,"orgType":"defaultdevhubusername","requiresDevhubUsername":true,"flagsConfig":{"package":{"kind":"string","char":"p","description":"ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for","longDescription":"The ID or alias of the package or package version to display ancestry for. If you specify a package ID (starts with 0Ho) or alias, the ancestor tree for every package version associated with the package ID is displayed.\nIf you specify a package version (starts with 04t) or alias, the ancestry tree of the specified package version is displayed.","required":true,"input":[],"multiple":false,"type":"option"},"dotcode":{"kind":"boolean","description":"display the ancestry tree in DOT code","longDescription":"Displays the ancestry tree in DOT code. You can use the DOT code output in graph visualization software to create tree visualizations.","allowNo":false,"type":"boolean"},"verbose":{"description":"display both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree","longDescription":"Displays both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree.","type":"boolean","kind":"boolean","allowNo":false}}},"force:package:beta:version:list":{"id":"force:package:beta:version:list","description":"list all package versions in the Dev Hub org","strict":true,"usage":"<%= command.id %> [-c <number>] [-m <number>] [-p <array>] [-r] [-o <array>] [-v <string>] [--apiversion <string>] [--concise] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"createdlastdays":{"name":"createdlastdays","type":"option","char":"c","description":"created in the last specified number of days (starting at 00:00:00 of first day to now; 0 for today)","multiple":false},"concise":{"name":"concise","type":"boolean","description":"display limited package version details","allowNo":false},"modifiedlastdays":{"name":"modifiedlastdays","type":"option","char":"m","description":"list items modified in the specified last number of days (starting at 00:00:00 of first day to now; 0 for today)","multiple":false},"packages":{"name":"packages","type":"option","char":"p","description":"filter results on specified comma-delimited packages (aliases or 0Ho IDs)","multiple":false},"released":{"name":"released","type":"boolean","char":"r","description":"display released versions only","allowNo":false},"orderby":{"name":"orderby","type":"option","char":"o","description":"order by the specified package version fields","multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"display extended package version details","allowNo":false}},"args":[],"longDescription":"Lists all package versions in the Dev Hub org.","help":"Displays details of each package version in the org.\n\nUse --concise or --verbose to display limited or additional details, respectively.\n\nAll filter parameters are applied using the AND logical operator (not OR).\n\nExamples:\n$ sfdx force:package:version:list --verbose --createdlastdays 3 --released --orderby PatchVersion\n$ sfdx force:package:version:list --packages 0Ho000000000000,0Ho000000000001 --released --modifiedlastdays 0\n$ sfdx force:package:version:list --released\n$ sfdx force:package:version:list --concise --modifiedlastdays 0\n$ sfdx force:package:version:list --concise -c 3 -r\n$ sfdx force:package:version:list --packages exp-mgr,exp-mgr-util --released --modifiedlastdays 0","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"flagsConfig":{"createdlastdays":{"kind":"number","char":"c","description":"created in the last specified number of days (starting at 00:00:00 of first day to now; 0 for today)","longDescription":"Filters the list based on the specified maximum number of days since the request was created (starting at 00:00:00 of first day to now; 0 for today).","input":[],"multiple":false,"type":"option"},"concise":{"description":"display limited package version details","longDescription":"Displays limited package version details.","type":"boolean","kind":"boolean","allowNo":false},"modifiedlastdays":{"kind":"number","char":"m","description":"list items modified in the specified last number of days (starting at 00:00:00 of first day to now; 0 for today)","longDescription":"Lists the items modified in the specified last number of days, starting at 00:00:00 of first day to now. Use 0 for today.","input":[],"multiple":false,"type":"option"},"packages":{"kind":"array","char":"p","description":"filter results on specified comma-delimited packages (aliases or 0Ho IDs)","longDescription":"Filters results on the specified comma-delimited packages (aliases or 0Ho IDs).","input":[],"multiple":false,"type":"option"},"released":{"kind":"boolean","char":"r","description":"display released versions only","longDescription":"Displays released versions only (IsReleased=true).","allowNo":false,"type":"boolean"},"orderby":{"kind":"array","char":"o","description":"order by the specified package version fields","longDescription":"Orders the list by the specified package version fields.","input":[],"multiple":false,"type":"option"},"verbose":{"description":"display extended package version details","longDescription":"Displays extended package version details.","type":"boolean","kind":"boolean","allowNo":false}}},"force:package:beta:version:promote":{"id":"force:package:beta:version:promote","description":"promote a package version to released","strict":true,"usage":"<%= command.id %> -p <string> [-n] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 04t) or alias of the package version to promote","required":true,"multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"n","description":"no prompt to confirm setting the package version as released","allowNo":false}},"args":[],"longDescription":"Promotes a package version to released status.","help":"Supply the ID or alias of the package version you want to promote. Promotes the package version to released status.\n\nExamples:\n$ sfdx force:package:version:promote -p 04t...\n$ sfdx force:package:version:promote -p awesome_package_alias\n$ sfdx force:package:version:promote -p \"Awesome Package Alias\"","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"package":{"kind":"string","char":"p","description":"ID (starts with 04t) or alias of the package version to promote","longDescription":"The ID (starts with 04t) or alias of the package version to promote.","required":true,"input":[],"multiple":false,"type":"option"},"noprompt":{"kind":"boolean","char":"n","description":"no prompt to confirm setting the package version as released","longDescription":"Do not prompt to confirm setting the package version as released.","allowNo":false,"type":"boolean"}}},"force:package:beta:version:report":{"id":"force:package:beta:version:report","description":"retrieve details about a package version in the Dev Hub org","strict":true,"usage":"<%= command.id %> -p <string> [-v <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 04t) or alias of the package to retrieve details for","required":true,"multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"displays extended package version details","allowNo":false}},"args":[],"longDescription":"Retrieves details about a package version in the Dev Hub org.","help":"Examples:\n$ sfdx force:package:version:report -p 04t...\n$ sfdx force:package:version:report -p \"Your Package Alias\"\n\nTo update package version values, run \"sfdx force:package:version:update\".","orgType":"target-dev-hub","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"package":{"kind":"string","char":"p","description":"ID (starts with 04t) or alias of the package to retrieve details for","longDescription":"The ID (starts with 04t) or alias of the package to retrieve details for.","required":true,"input":[],"multiple":false,"type":"option"},"verbose":{"description":"displays extended package version details","longDescription":"Displays extended package version details.","type":"boolean","kind":"boolean","allowNo":false}}},"force:package:beta:version:update":{"id":"force:package:beta:version:update","description":"update a package version","strict":true,"usage":"<%= command.id %> -p <string> [-a <string>] [-e <string>] [-b <string>] [-t <string>] [-k <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"package":{"name":"package","type":"option","char":"p","description":"ID (starts with 04t) or alias of the package to update a version of","required":true,"multiple":false},"versionname":{"name":"versionname","type":"option","char":"a","description":"new package version name","multiple":false},"versiondescription":{"name":"versiondescription","type":"option","char":"e","description":"new package version description","multiple":false},"branch":{"name":"branch","type":"option","char":"b","description":"new package version branch","multiple":false},"tag":{"name":"tag","type":"option","char":"t","description":"new package version tag","multiple":false},"installationkey":{"name":"installationkey","type":"option","char":"k","description":"new installation key for key-protected package (default: null)","multiple":false}},"args":[],"longDescription":"Updates a second-generation package version in the Dev Hub org.","help":"Specify a new value for each option you want to update.\n\nExamples:\n$ sfdx force:package:version:update -p \"Your Package Alias\" -k password123\n$ sfdx force:package:version:update -p 04t... -b main -t 'Release 1.0.7'\n$ sfdx force:package:version:update -p 04t... -e \"New Package Version Description\"\n\nTo display details about a package version, run \"sfdx force:package:version:report\".","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"requiresProject":true,"flagsConfig":{"package":{"kind":"string","char":"p","description":"ID (starts with 04t) or alias of the package to update a version of","longDescription":"The ID (starts with 04t) or alias of the package to update a version of.","required":true,"input":[],"multiple":false,"type":"option"},"versionname":{"kind":"string","char":"a","description":"new package version name","longDescription":"The new package version name.","input":[],"multiple":false,"type":"option"},"versiondescription":{"kind":"string","char":"e","description":"new package version description","longDescription":"The new package version description.","input":[],"multiple":false,"type":"option"},"branch":{"kind":"string","char":"b","description":"new package version branch","longDescription":"The new package version branch.","input":[],"multiple":false,"type":"option"},"tag":{"kind":"string","char":"t","description":"new package version tag","longDescription":"The new package version tag.","input":[],"multiple":false,"type":"option"},"installationkey":{"kind":"string","char":"k","description":"new installation key for key-protected package (default: null)","longDescription":"The new installation key for the key-protected package. The default is null.","input":[],"multiple":false,"type":"option"}}},"force:package1:beta:version:create":{"id":"force:package1:beta:version:create","description":"create a first-generation package version in the release org","strict":true,"usage":"<%= command.id %> -i <id> -n <string> [-d <string>] [-v <string>] [-m] [-r <url>] [-p <url>] [-k <string>] [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"packageid":{"name":"packageid","type":"option","char":"i","description":"ID of the metadata package (starts with 033) of which you’re creating a new version","required":true,"multiple":false},"name":{"name":"name","type":"option","char":"n","description":"package version name","required":true,"multiple":false},"description":{"name":"description","type":"option","char":"d","description":"package version description","multiple":false},"version":{"name":"version","type":"option","char":"v","description":"package version in major.minor format, for example, 3.2","multiple":false},"managedreleased":{"name":"managedreleased","type":"boolean","char":"m","description":"create a managed package version","allowNo":false},"releasenotesurl":{"name":"releasenotesurl","type":"option","char":"r","description":"release notes URL","multiple":false},"postinstallurl":{"name":"postinstallurl","type":"option","char":"p","description":"post install URL","multiple":false},"installationkey":{"name":"installationkey","type":"option","char":"k","description":"installation key for key-protected package (default: null)","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"minutes to wait for the package version to be created (default: 2 minutes)","multiple":false}},"args":[],"longDescription":"Creates a first-generation package version in the release org.","help":"The package version is based on the contents of the specified metadata package. Omit -m if you want to create an unmanaged package version.","requiresUsername":true,"requiresProject":true,"flagsConfig":{"packageid":{"kind":"id","char":"i","description":"ID of the metadata package (starts with 033) of which you’re creating a new version","longDescription":"ID of the metadata package (starts with 033) of which you’re creating a new version.","required":true,"input":[],"multiple":false,"type":"option"},"name":{"kind":"string","char":"n","description":"package version name","longDescription":"Package version name.","required":true,"input":[],"multiple":false,"type":"option"},"description":{"kind":"string","char":"d","description":"package version description","longDescription":"Package version description.","input":[],"multiple":false,"type":"option"},"version":{"kind":"string","char":"v","description":"package version in major.minor format, for example, 3.2","longDescription":"Package version in major.minor format, for example, 3.2.","input":[],"multiple":false,"type":"option"},"managedreleased":{"kind":"boolean","char":"m","description":"create a managed package version","longDescription":"Creates a managed package version. To create a beta version, don’t include this parameter.","allowNo":false,"type":"boolean"},"releasenotesurl":{"kind":"url","char":"r","description":"release notes URL","longDescription":"The release notes URL. This link is displayed in the package installation UI to provide release notes for this package version to subscribers.","input":[],"multiple":false,"type":"option"},"postinstallurl":{"kind":"url","char":"p","description":"post install URL","longDescription":"The post-install instructions URL. The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.","input":[],"multiple":false,"type":"option"},"installationkey":{"kind":"string","char":"k","description":"installation key for key-protected package (default: null)","longDescription":"Installation key for creating the key-protected package. The default is null.","input":[],"multiple":false,"type":"option"},"wait":{"kind":"minutes","char":"w","description":"minutes to wait for the package version to be created (default: 2 minutes)","longDescription":"Minutes to wait for the package version to be created. The default is 2 minutes.","input":[],"multiple":false,"type":"option"}}},"force:package1:beta:version:display":{"id":"force:package1:beta:version:display","description":"display details about a first-generation package version","strict":true,"usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"packageversionid":{"name":"packageversionid","type":"option","char":"i","description":"metadata package version ID (starts with 04t)","required":true,"multiple":false}},"args":[],"help":"Display detailed information about an individual package version, including metadata package ID, name, the release state, and build number.","requiresUsername":true,"flagsConfig":{"packageversionid":{"kind":"id","char":"i","description":"metadata package version ID (starts with 04t)","longDescription":"ID (starts with 04t) of the metadata package version whose details you want to display.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:package1:beta:version:list":{"id":"force:package1:beta:version:list","description":"list package versions for the specified first-generation package or for the org","strict":true,"usage":"<%= command.id %> [-i <id>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"packageid":{"name":"packageid","type":"option","char":"i","description":"metadata package ID (starts with 033)","multiple":false}},"args":[],"longDescription":"Lists the versions for the specified package or all first-generation packages in the org.","help":"If a metadata package ID is specified, lists all versions of the specified package. Otherwise, lists all package versions for the org. For each package version, the list includes the package version ID, metadata package ID, name, version number, and release state.","requiresUsername":true,"flagsConfig":{"packageid":{"kind":"id","char":"i","description":"metadata package ID (starts with 033)","longDescription":"Metadata package ID (starts with 033) whose package versions you want to list. If not specified, shows all versions for all packages (managed and unmanaged) in the org.","input":[],"multiple":false,"type":"option"}}},"force:package:beta:version:create:list":{"id":"force:package:beta:version:create:list","description":"list package version creation requests","strict":true,"usage":"<%= command.id %> [-c <number>] [-s Queued|InProgress|Success|Error] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"createdlastdays":{"name":"createdlastdays","type":"option","char":"c","description":"created in the last specified number of days (starting at 00:00:00 of first day to now; 0 for today)","multiple":false},"status":{"name":"status","type":"option","char":"s","description":"filter the list by version creation request status","helpValue":"(Queued|InProgress|Success|Error)","multiple":false,"options":["Queued","InProgress","Success","Error"]}},"args":[],"longDescription":"Lists all requests to create second-generation package versions in the Dev Hub org.","help":"Shows the details of each request to create a package version in the Dev Hub org.\n\nAll filter parameters are applied using the AND logical operator (not OR).\n\nTo get information about a specific request, run \"sfdx force:package:version:create:report\" and supply the request ID.\n\nExamples:\n$ sfdx force:package:version:create:list\n$ sfdx force:package:version:create:list --createdlastdays 3\n$ sfdx force:package:version:create:list --status Error\n$ sfdx force:package:version:create:list -s InProgress\n$ sfdx force:package:version:create:list -c 3 -s Success","orgType":"defaultdevhubusername","requiresDevhubUsername":true,"flagsConfig":{"createdlastdays":{"kind":"number","char":"c","description":"created in the last specified number of days (starting at 00:00:00 of first day to now; 0 for today)","longDescription":"Filters the list based on the specified maximum number of days since the request was created (starting at 00:00:00 of first day to now; 0 for today).","input":[],"multiple":false,"type":"option"},"status":{"kind":"enum","helpValue":"(Queued|InProgress|Success|Error)","char":"s","description":"filter the list by version creation request status","longDescription":"Filters the list based on the status of version creation requests.","options":["Queued","InProgress","Success","Error"],"input":[],"multiple":false,"type":"option"}}},"force:package:beta:version:create:report":{"id":"force:package:beta:version:create:report","description":"retrieve details about a package version creation request","strict":true,"usage":"<%= command.id %> -i <id> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"packagecreaterequestid":{"name":"packagecreaterequestid","type":"option","char":"i","description":"package version creation request ID (starts with 08c)","required":true,"multiple":false}},"args":[],"longDescription":"Retrieves details about a package version creation request in the Dev Hub org.","help":"Specify the request ID for which you want to view details. If applicable, the command displays errors related to the request.\n\nExamples:\n$ sfdx force:package:version:create:report -i 08c...\n$ sfdx force:package:version:create:report -i 08c... -v devhub@example.com\n\nTo show all requests in the org, run \"sfdx force:package:version:create:list\".","requiresDevhubUsername":true,"flagsConfig":{"packagecreaterequestid":{"kind":"id","char":"i","description":"package version creation request ID (starts with 08c)","longDescription":"The ID (starts with 08c) of the package version creation request you want to display.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:package1:beta:version:create:get":{"id":"force:package1:beta:version:create:get","description":"retrieve the status of a package version creation request","strict":true,"usage":"<%= command.id %> -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-packaging","pluginAlias":"@salesforce/plugin-packaging","pluginType":"core","aliases":[],"examples":["Examples:","$ sfdx force:package1:version:create:get -i 0HD...","$ sfdx force:package1:version:create:get -i 0HD... -u devhub@example.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"requestid":{"name":"requestid","type":"option","char":"i","description":"PackageUploadRequest ID","required":true,"multiple":false}},"args":[],"requiresUsername":true,"flagsConfig":{"requestid":{"kind":"id","char":"i","description":"PackageUploadRequest ID","longDescription":"The ID of the PackageUploadRequest.","required":true,"input":[],"multiple":false,"type":"option"}}}}}
package/package.json CHANGED
@@ -1,17 +1,16 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-packaging",
3
3
  "description": "SFDX plugin that support Salesforce Packaging Platform",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "main": "lib/index.js",
6
6
  "author": "Salesforce",
7
7
  "bugs": "https://github.com/forcedotcom/cli/issues",
8
8
  "dependencies": {
9
9
  "@oclif/core": "^1.14.2",
10
- "@salesforce/command": "^5.2.4",
10
+ "@salesforce/command": "^5.2.5",
11
11
  "@salesforce/core": "^3.26.2",
12
- "@salesforce/kit": "^1.5.45",
13
- "@salesforce/packaging": "0.0.20",
14
- "chalk": "^4.1.2",
12
+ "@salesforce/kit": "^1.6.0",
13
+ "@salesforce/packaging": "^0.0.23",
15
14
  "tslib": "^2"
16
15
  },
17
16
  "devDependencies": {
@@ -189,7 +188,7 @@
189
188
  "access": "public"
190
189
  },
191
190
  "sfdx": {
192
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/1.2.0.crt",
193
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/1.2.0.sig"
191
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/1.2.1.crt",
192
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/1.2.1.sig"
194
193
  }
195
194
  }