@salesforce/plugin-packaging 1.8.0 → 1.9.0

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.8.0 (2022-09-09)
5
+ ## 1.9.0 (2022-09-09)
6
6
 
7
7
  ### Features
8
8
 
@@ -44,6 +44,7 @@ All notable changes to this project will be documented in this file. See [standa
44
44
  - force version bump ([7c2c878](https://github.com/salesforcecli/plugin-packaging/commit/7c2c878b47abc9e711878ac7ebc1f805b5262460))
45
45
  - keep only examples in #examples section ([44a13c9](https://github.com/salesforcecli/plugin-packaging/commit/44a13c928e2665932785971a99346040d94b25ab))
46
46
  - lint fixes ([ac8cceb](https://github.com/salesforcecli/plugin-packaging/commit/ac8cceb91b76b90671acc6029c3329390b34b9aa))
47
+ - look up 05i id if 04t is found for package:promote ([256dbdb](https://github.com/salesforcecli/plugin-packaging/commit/256dbdb652ca50f20b5678a1a7ecd89dfdd010dd))
47
48
  - make command output clearer for un-implemented commands ([65cab44](https://github.com/salesforcecli/plugin-packaging/commit/65cab44d3aa76b0bc78d5b26e5cc15c9294f19a9))
48
49
  - messages files are breaking the CLI Ref command generation ([9da58a6](https://github.com/salesforcecli/plugin-packaging/commit/9da58a681251b42c472d2d413a76238d50b5ec10))
49
50
  - only examples in # examples sections ([d68d002](https://github.com/salesforcecli/plugin-packaging/commit/d68d002d4792d11e0d246e7cb15233092b902dde))
@@ -65,5 +66,6 @@ All notable changes to this project will be documented in this file. See [standa
65
66
  - type on event consumer for pvc ([e4200cc](https://github.com/salesforcecli/plugin-packaging/commit/e4200ccffefe090fa3b2d287d0487f830214d2c1))
66
67
  - update README and fix test output ([ad00150](https://github.com/salesforcecli/plugin-packaging/commit/ad0015011696d051bfaec682f67997e763f1fd85))
67
68
  - update tests ([fe81cab](https://github.com/salesforcecli/plugin-packaging/commit/fe81cab659990e3d5375ab13cb357ea6f7dddb17))
69
+ - update version number ([f4f6989](https://github.com/salesforcecli/plugin-packaging/commit/f4f69895c1f458e9373ca925fe985c6fea868777))
68
70
  - use correct message based on flags ([84a3d96](https://github.com/salesforcecli/plugin-packaging/commit/84a3d96d129072c857e496a75d3ab11824ba82e2))
69
71
  - use os specific line endings ([fd431e8](https://github.com/salesforcecli/plugin-packaging/commit/fd431e8c73179fd40f31c75e434210e0bd8074b9))
package/README.md CHANGED
@@ -132,7 +132,7 @@ DESCRIPTION
132
132
  unmanaged package version.
133
133
  ```
134
134
 
135
- _See code: [src/commands/force/package1/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package1/beta/version/create.ts)_
135
+ _See code: [src/commands/force/package1/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package1/beta/version/create.ts)_
136
136
 
137
137
  ## `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]`
138
138
 
@@ -162,7 +162,7 @@ EXAMPLES
162
162
  $ sfdx force:package1:version:create:get -i 0HD... -u devhub@example.com
163
163
  ```
164
164
 
165
- _See code: [src/commands/force/package1/beta/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package1/beta/version/create/get.ts)_
165
+ _See code: [src/commands/force/package1/beta/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package1/beta/version/create/get.ts)_
166
166
 
167
167
  ## `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]`
168
168
 
@@ -188,7 +188,7 @@ DESCRIPTION
188
188
  display details about a first-generation package version
189
189
  ```
190
190
 
191
- _See code: [src/commands/force/package1/beta/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package1/beta/version/display.ts)_
191
+ _See code: [src/commands/force/package1/beta/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package1/beta/version/display.ts)_
192
192
 
193
193
  ## `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]`
194
194
 
@@ -214,7 +214,7 @@ DESCRIPTION
214
214
  list package versions for the specified first-generation package or for the org
215
215
  ```
216
216
 
217
- _See code: [src/commands/force/package1/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package1/beta/version/list.ts)_
217
+ _See code: [src/commands/force/package1/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package1/beta/version/list.ts)_
218
218
 
219
219
  ## `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]`
220
220
 
@@ -266,7 +266,7 @@ EXAMPLES
266
266
  $ sfdx force:package:create -n YourPackageName -d "Your Package Descripton" -t Unlocked -r force-app
267
267
  ```
268
268
 
269
- _See code: [src/commands/force/package/beta/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/create.ts)_
269
+ _See code: [src/commands/force/package/beta/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/create.ts)_
270
270
 
271
271
  ## `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]`
272
272
 
@@ -304,7 +304,7 @@ EXAMPLES
304
304
  $ sfdx force:package:delete -p 0Ho...
305
305
  ```
306
306
 
307
- _See code: [src/commands/force/package/beta/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/delete.ts)_
307
+ _See code: [src/commands/force/package/beta/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/delete.ts)_
308
308
 
309
309
  ## `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]`
310
310
 
@@ -377,7 +377,7 @@ EXAMPLES
377
377
  $ sfdx force:package:beta:install --package 04t... -t DeprecateOnly
378
378
  ```
379
379
 
380
- _See code: [src/commands/force/package/beta/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/install.ts)_
380
+ _See code: [src/commands/force/package/beta/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/install.ts)_
381
381
 
382
382
  ## `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]`
383
383
 
@@ -408,7 +408,7 @@ EXAMPLES
408
408
  $ sfdx force:package:install:report -i 0Hf... -u me@example.com
409
409
  ```
410
410
 
411
- _See code: [src/commands/force/package/beta/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/install/report.ts)_
411
+ _See code: [src/commands/force/package/beta/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/install/report.ts)_
412
412
 
413
413
  ## `sfdx force:package:beta:installed:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
414
414
 
@@ -437,7 +437,7 @@ EXAMPLES
437
437
  $ sfdx force:package:installed:list -u me@example.com
438
438
  ```
439
439
 
440
- _See code: [src/commands/force/package/beta/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/installed/list.ts)_
440
+ _See code: [src/commands/force/package/beta/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/installed/list.ts)_
441
441
 
442
442
  ## `sfdx force:package:beta:list [-v <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
443
443
 
@@ -469,7 +469,7 @@ EXAMPLES
469
469
  $ sfdx force:package:list -v devhub@example.com --verbose
470
470
  ```
471
471
 
472
- _See code: [src/commands/force/package/beta/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/list.ts)_
472
+ _See code: [src/commands/force/package/beta/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/list.ts)_
473
473
 
474
474
  ## `sfdx force:package:beta:uninstall -p <string> [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
475
475
 
@@ -512,7 +512,7 @@ EXAMPLES
512
512
  $ sfdx force:package:beta:uninstall -p "Undesirable Package Alias"
513
513
  ```
514
514
 
515
- _See code: [src/commands/force/package/beta/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/uninstall.ts)_
515
+ _See code: [src/commands/force/package/beta/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/uninstall.ts)_
516
516
 
517
517
  ## `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]`
518
518
 
@@ -543,7 +543,7 @@ EXAMPLES
543
543
  $ sfdx force:package:beta:uninstall:report -i 06y... -u me@example.com
544
544
  ```
545
545
 
546
- _See code: [src/commands/force/package/beta/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/uninstall/report.ts)_
546
+ _See code: [src/commands/force/package/beta/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/uninstall/report.ts)_
547
547
 
548
548
  ## `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]`
549
549
 
@@ -583,7 +583,7 @@ EXAMPLES
583
583
  $ sfdx force:package:update -p 0Ho... -d "New Package Description"
584
584
  ```
585
585
 
586
- _See code: [src/commands/force/package/beta/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/update.ts)_
586
+ _See code: [src/commands/force/package/beta/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/update.ts)_
587
587
 
588
588
  ## `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]`
589
589
 
@@ -657,7 +657,7 @@ EXAMPLES
657
657
  $ sfdx force:package:version:create -d common -k password123 --skipvalidation
658
658
  ```
659
659
 
660
- _See code: [src/commands/force/package/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/version/create.ts)_
660
+ _See code: [src/commands/force/package/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/version/create.ts)_
661
661
 
662
662
  ## `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]`
663
663
 
@@ -703,7 +703,7 @@ EXAMPLES
703
703
  $ sfdx force:package:version:create:list -c 3 -s Success
704
704
  ```
705
705
 
706
- _See code: [src/commands/force/package/beta/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/version/create/list.ts)_
706
+ _See code: [src/commands/force/package/beta/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/version/create/list.ts)_
707
707
 
708
708
  ## `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]`
709
709
 
@@ -739,7 +739,7 @@ EXAMPLES
739
739
  $ sfdx force:package:version:create:report -i 08c... -v devhub@example.com
740
740
  ```
741
741
 
742
- _See code: [src/commands/force/package/beta/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/version/create/report.ts)_
742
+ _See code: [src/commands/force/package/beta/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/version/create/report.ts)_
743
743
 
744
744
  ## `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]`
745
745
 
@@ -775,7 +775,7 @@ EXAMPLES
775
775
  $ sfdx force:package:version:delete -p 04t...
776
776
  ```
777
777
 
778
- _See code: [src/commands/force/package/beta/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/version/delete.ts)_
778
+ _See code: [src/commands/force/package/beta/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/version/delete.ts)_
779
779
 
780
780
  ## `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]`
781
781
 
@@ -818,7 +818,7 @@ EXAMPLES
818
818
  $ sfdx force:package:version:displayancestry -p 04t...
819
819
  ```
820
820
 
821
- _See code: [src/commands/force/package/beta/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/version/displayancestry.ts)_
821
+ _See code: [src/commands/force/package/beta/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/version/displayancestry.ts)_
822
822
 
823
823
  ## `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]`
824
824
 
@@ -879,7 +879,7 @@ EXAMPLES
879
879
  $ sfdx force:package:version:list --packages exp-mgr,exp-mgr-util --released --modifiedlastdays 0
880
880
  ```
881
881
 
882
- _See code: [src/commands/force/package/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/version/list.ts)_
882
+ _See code: [src/commands/force/package/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/version/list.ts)_
883
883
 
884
884
  ## `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]`
885
885
 
@@ -917,7 +917,7 @@ EXAMPLES
917
917
  $ sfdx force:package:version:promote -p "Awesome Package Alias"
918
918
  ```
919
919
 
920
- _See code: [src/commands/force/package/beta/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/version/promote.ts)_
920
+ _See code: [src/commands/force/package/beta/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/version/promote.ts)_
921
921
 
922
922
  ## `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]`
923
923
 
@@ -953,7 +953,7 @@ EXAMPLES
953
953
  $ sfdx force:package:version:report -p "Your Package Alias"
954
954
  ```
955
955
 
956
- _See code: [src/commands/force/package/beta/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/version/report.ts)_
956
+ _See code: [src/commands/force/package/beta/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/version/report.ts)_
957
957
 
958
958
  ## `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]`
959
959
 
@@ -999,6 +999,6 @@ EXAMPLES
999
999
  $ sfdx force:package:version:update -p 04t... -e "New Package Version Description"
1000
1000
  ```
1001
1001
 
1002
- _See code: [src/commands/force/package/beta/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.7.1/src/commands/force/package/beta/version/update.ts)_
1002
+ _See code: [src/commands/force/package/beta/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.8.0/src/commands/force/package/beta/version/update.ts)_
1003
1003
 
1004
1004
  <!-- commandsstop -->
@@ -17,9 +17,13 @@ class PackageVersionPromoteCommand extends command_1.SfdxCommand {
17
17
  async run() {
18
18
  var _a;
19
19
  const conn = this.hubOrg.getConnection();
20
- const packageId = (_a = (0, packaging_1.getPackageIdFromAlias)(this.flags.package, this.project)) !== null && _a !== void 0 ? _a : this.flags.package;
20
+ let packageId = (_a = (0, packaging_1.getPackageIdFromAlias)(this.flags.package, this.project)) !== null && _a !== void 0 ? _a : this.flags.package;
21
21
  // ID can be 04t or 05i at this point
22
22
  (0, packaging_1.validateId)([packaging_1.BY_LABEL.SUBSCRIBER_PACKAGE_VERSION_ID, packaging_1.BY_LABEL.PACKAGE_VERSION_ID], packageId);
23
+ if (packageId.startsWith('04t')) {
24
+ // lookup the 05i ID for getHasMetadataRemoved below
25
+ packageId = await (0, packaging_1.getPackageVersionId)(packageId, conn);
26
+ }
23
27
  if (!this.flags.json && !this.flags.noprompt) {
24
28
  // Warn when a Managed package has removed metadata
25
29
  if (await (0, packaging_1.getHasMetadataRemoved)(packageId, conn)) {
@@ -43,7 +47,10 @@ class PackageVersionPromoteCommand extends command_1.SfdxCommand {
43
47
  }
44
48
  throw err;
45
49
  }
46
- result.id = packageId;
50
+ if (packageId.startsWith('05i')) {
51
+ // we should print, and return the 04t id
52
+ result.id = await (0, packaging_1.getSubscriberPackageVersionId)(packageId, conn);
53
+ }
47
54
  this.ux.log(messages.getMessage('humanSuccess', [result.id]));
48
55
  return result;
49
56
  }
@@ -1 +1 @@
1
- {"version":3,"file":"promote.js","sourceRoot":"","sources":["../../../../../../src/commands/force/package/beta/version/promote.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yBAAyB;AACzB,iDAAsE;AACtE,2CAAqD;AACrD,qDAO+B;AAE/B,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,yBAAyB,CAAC,CAAC;AAElG,MAAa,4BAA6B,SAAQ,qBAAW;IAoBpD,KAAK,CAAC,GAAG;;QACd,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,aAAa,EAAE,CAAC;QACzC,MAAM,SAAS,GAAG,MAAA,IAAA,iCAAqB,EAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,mCAAK,IAAI,CAAC,KAAK,CAAC,OAAkB,CAAC;QAE5G,qCAAqC;QACrC,IAAA,sBAAU,EAAC,CAAC,oBAAQ,CAAC,6BAA6B,EAAE,oBAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,CAAC,CAAC;QAE7F,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;YAC5C,mDAAmD;YACnD,IAAI,MAAM,IAAA,iCAAqB,EAAC,SAAS,EAAE,IAAI,CAAC,EAAE;gBAChD,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC,CAAC;aAChE;YAED,0BAA0B;YAC1B,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,8BAA8B,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE;gBACvG,OAAO;aACR;SACF;QAED,MAAM,GAAG,GAAG,IAAI,0BAAc,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;QAC5E,IAAI,MAAyB,CAAC;QAE9B,IAAI;YACF,MAAM,GAAG,MAAM,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;SACvC;QAAC,OAAO,CAAC,EAAE;YACV,MAAM,GAAG,GAAG,cAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAC5B,IAAI,GAAG,CAAC,IAAI,KAAK,iBAAiB,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EAAE;gBACjF,GAAG,CAAC,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC;gBAC/D,GAAG,CAAC,OAAO,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAAC,CAAC;aACjE;YACD,MAAM,GAAG,CAAC;SACX;QACD,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC;QACtB,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QAC9D,OAAO,MAAM,CAAC;IAChB,CAAC;;AAvDH,oEAwDC;AAvDwB,wCAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;AAEpD,qCAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AACzD,mDAAsB,GAAG,IAAI,CAAC;AAC9B,4CAAe,GAAG,IAAI,CAAC;AACvB,wCAAW,GAAgB;IAChD,OAAO,EAAE,eAAK,CAAC,MAAM,CAAC;QACpB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;QAC3C,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC;QACnD,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,OAAO,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC;QACtD,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC;KAC/D,CAAC;CACH,CAAC"}
1
+ {"version":3,"file":"promote.js","sourceRoot":"","sources":["../../../../../../src/commands/force/package/beta/version/promote.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yBAAyB;AACzB,iDAAsE;AACtE,2CAAqD;AACrD,qDAS+B;AAE/B,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,yBAAyB,CAAC,CAAC;AAElG,MAAa,4BAA6B,SAAQ,qBAAW;IAoBpD,KAAK,CAAC,GAAG;;QACd,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,aAAa,EAAE,CAAC;QACzC,IAAI,SAAS,GAAG,MAAA,IAAA,iCAAqB,EAAC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,mCAAK,IAAI,CAAC,KAAK,CAAC,OAAkB,CAAC;QAE1G,qCAAqC;QACrC,IAAA,sBAAU,EAAC,CAAC,oBAAQ,CAAC,6BAA6B,EAAE,oBAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,CAAC,CAAC;QAE7F,IAAI,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;YAC/B,oDAAoD;YACpD,SAAS,GAAG,MAAM,IAAA,+BAAmB,EAAC,SAAS,EAAE,IAAI,CAAC,CAAC;SACxD;QAED,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;YAC5C,mDAAmD;YACnD,IAAI,MAAM,IAAA,iCAAqB,EAAC,SAAS,EAAE,IAAI,CAAC,EAAE;gBAChD,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC,CAAC;aAChE;YAED,0BAA0B;YAC1B,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,8BAA8B,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE;gBACvG,OAAO;aACR;SACF;QAED,MAAM,GAAG,GAAG,IAAI,0BAAc,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;QAC5E,IAAI,MAAyB,CAAC;QAE9B,IAAI;YACF,MAAM,GAAG,MAAM,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;SACvC;QAAC,OAAO,CAAC,EAAE;YACV,MAAM,GAAG,GAAG,cAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAC5B,IAAI,GAAG,CAAC,IAAI,KAAK,iBAAiB,IAAI,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EAAE;gBACjF,GAAG,CAAC,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC;gBAC/D,GAAG,CAAC,OAAO,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAAC,CAAC;aACjE;YACD,MAAM,GAAG,CAAC;SACX;QAED,IAAI,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;YAC/B,yCAAyC;YACzC,MAAM,CAAC,EAAE,GAAG,MAAM,IAAA,yCAA6B,EAAC,SAAS,EAAE,IAAI,CAAC,CAAC;SAClE;QAED,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAc,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QAC9D,OAAO,MAAM,CAAC;IAChB,CAAC;;AAjEH,oEAkEC;AAjEwB,wCAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;AAEpD,qCAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AACzD,mDAAsB,GAAG,IAAI,CAAC;AAC9B,4CAAe,GAAG,IAAI,CAAC;AACvB,wCAAW,GAAgB;IAChD,OAAO,EAAE,eAAK,CAAC,MAAM,CAAC;QACpB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;QAC3C,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC;QACnD,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,OAAO,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC;QACtD,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC;KAC/D,CAAC;CACH,CAAC"}
@@ -1 +1 @@
1
- {"version":"1.8.0","commands":{"force:package:beta:convert":{"id":"force:package:beta:convert","description":"creates a second-generation package version from a first-generation package\n\nThe 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\".","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":[],"examples":["$ sfdx force:package:convert --package 033xx0000004Gmn -k password123"],"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":[],"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\n\nFirst, 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\nRun 'sfdx force:package:list' to list all packages in the Dev Hub org.","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":[],"examples":["$ sfdx force:package:create -n YourPackageName -t Unlocked -r force-app","$ sfdx force:package:create -n YourPackageName -d \"Your Package Descripton\" -t Unlocked -r force-app"],"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":[],"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\n\nSpecify the ID or alias of the package you want to delete.\n\nDelete unlocked and second-generation managed packages. Before you delete a package, first delete all associated package versions.","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":[],"examples":["$ sfdx force:package:delete -p \"Your Package Alias\"","$ sfdx force:package:delete -p 0Ho..."],"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":[],"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\n\nSupply 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.","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":[],"examples":["$ sfdx force:package:beta:install --package 04t... -u me@example.com","$ sfdx force:package:beta:install --package awesome_package_alias","$ sfdx force:package:beta:install --package \"Awesome Package Alias\"","$ sfdx force:package:beta:install --package 04t... -t DeprecateOnly"],"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":[],"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\n\nYou can view the namespace, IDs, and other details for each package.","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":[],"examples":["$ sfdx force:package:list -v devhub@example.com","$ sfdx force:package:list -v devhub@example.com --verbose"],"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":[],"requiresProject":true,"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\n\nSpecify the package ID for a second-generation package.\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.","strict":true,"usage":"<%= command.id %> -p <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":[],"examples":["$ sfdx force:package:beta:uninstall -p 04t... -u me@example.com","$ sfdx force:package:beta:uninstall -p undesirable_package_alias","$ sfdx force:package:beta:uninstall -p \"Undesirable Package Alias\""],"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","required":true,"multiple":false}},"args":[],"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.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:package:beta:update":{"id":"force:package:beta:update","description":"update package details\n\nSpecify a new value for each option you want to update.\n\nRun \"sfdx force:package:list\" to list all packages in the Dev Hub org.","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":[],"examples":["$ sfdx force:package:update -p \"Your Package Alias\" -n \"New Package Name\"","$ sfdx force:package:update -p 0Ho... -d \"New Package Description\""],"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":[],"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":[],"examples":["$ sfdx force:package:install:report -i 0Hf...","$ sfdx force:package:install:report -i 0Hf... -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},"requestid":{"name":"requestid","type":"option","char":"i","description":"ID of the package install request you want to check","required":true,"multiple":false}},"args":[],"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":[],"requiresUsername":true,"requiresProject":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":[],"examples":["$ sfdx force:package:beta:uninstall:report -i 06y...","$ sfdx force:package:beta:uninstall:report -i 06y... -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},"requestid":{"name":"requestid","type":"option","char":"i","description":"ID of the package uninstall request you want to check","required":true,"multiple":false}},"args":[],"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":[],"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\nSpecify the ID or alias of the package version you want to delete.","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":[],"examples":["$ sfdx force:package:version:delete -p \"Your Package Alias\"","$ sfdx force:package:version:delete -p 04t..."],"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":[],"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":[],"examples":["$ sfdx force:package:version:displayancestry -p package_version_alias","$ sfdx force:package:version:displayancestry -p package_version_alias --dotcode","$ sfdx force:package:version:displayancestry -p OHo...","$ sfdx force:package:version:displayancestry -p 04t..."],"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":[],"showProgress":false,"varargs":false,"requiresDevhubUsername":true,"requiresProject":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.\n\nDisplays 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).","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":[],"examples":["$ sfdx force:package:version:list --verbose --createdlastdays 3 --released --orderby PatchVersion","$ sfdx force:package:version:list --packages 0Ho000000000000,0Ho000000000001 --released --modifiedlastdays 0","$ sfdx force:package:version:list --released","$ sfdx force:package:version:list --concise --modifiedlastdays 0","$ sfdx force:package:version:list --concise -c 3 -r","$ sfdx force:package:version:list --packages exp-mgr,exp-mgr-util --released --modifiedlastdays 0"],"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":[],"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\n\nSupply the ID or alias of the package version you want to promote. Promotes the package version to released status.","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":[],"examples":["$ sfdx force:package:version:promote -p 04t...","$ sfdx force:package:version:promote -p awesome_package_alias","$ sfdx force:package:version:promote -p \"Awesome Package Alias\""],"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":[],"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\n\nTo update package version values, run \"sfdx force:package:version:update\".","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":[],"examples":["$ sfdx force:package:version:report -p 04t...","$ sfdx force:package:version:report -p \"Your Package Alias\""],"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":[],"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\n\nSpecify a new value for each option you want to update.\n\nTo display details about a package version, run \"sfdx force:package:version:report\".","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":[],"examples":["$ sfdx force:package:version:update -p \"Your Package Alias\" -k password123","$ sfdx force:package:version:update -p 04t... -b main -t 'Release 1.0.7'","$ sfdx force:package:version:update -p 04t... -e \"New Package Version Description\""],"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":[],"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\nThe package version is based on the contents of the specified metadata package. Omit -m if you want to create an unmanaged package version.","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":[],"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":[],"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":[],"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\n\nShows 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.","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":[],"examples":["$ sfdx force:package:version:create:list","$ sfdx force:package:version:create:list --createdlastdays 3","$ sfdx force:package:version:create:list --status Error","$ sfdx force:package:version:create:list -s InProgress","$ sfdx force:package:version:create:list -c 3 -s Success"],"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":[],"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\n\nSpecify the request ID for which you want to view details. If applicable, the command displays errors related to the request.\n\nTo show all requests in the org, run \"sfdx force:package:version:create:list\".","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":[],"examples":["$ sfdx force:package:version:create:report -i 08c...","$ sfdx force:package:version:create:report -i 08c... -v 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"},"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":[],"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":["$ 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.9.0","commands":{"force:package:beta:convert":{"id":"force:package:beta:convert","description":"creates a second-generation package version from a first-generation package\n\nThe 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\".","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":[],"examples":["$ sfdx force:package:convert --package 033xx0000004Gmn -k password123"],"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":[],"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\n\nFirst, 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\nRun 'sfdx force:package:list' to list all packages in the Dev Hub org.","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":[],"examples":["$ sfdx force:package:create -n YourPackageName -t Unlocked -r force-app","$ sfdx force:package:create -n YourPackageName -d \"Your Package Descripton\" -t Unlocked -r force-app"],"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":[],"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\n\nSpecify the ID or alias of the package you want to delete.\n\nDelete unlocked and second-generation managed packages. Before you delete a package, first delete all associated package versions.","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":[],"examples":["$ sfdx force:package:delete -p \"Your Package Alias\"","$ sfdx force:package:delete -p 0Ho..."],"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":[],"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\n\nSupply 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.","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":[],"examples":["$ sfdx force:package:beta:install --package 04t... -u me@example.com","$ sfdx force:package:beta:install --package awesome_package_alias","$ sfdx force:package:beta:install --package \"Awesome Package Alias\"","$ sfdx force:package:beta:install --package 04t... -t DeprecateOnly"],"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":[],"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\n\nYou can view the namespace, IDs, and other details for each package.","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":[],"examples":["$ sfdx force:package:list -v devhub@example.com","$ sfdx force:package:list -v devhub@example.com --verbose"],"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":[],"requiresProject":true,"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\n\nSpecify the package ID for a second-generation package.\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.","strict":true,"usage":"<%= command.id %> -p <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":[],"examples":["$ sfdx force:package:beta:uninstall -p 04t... -u me@example.com","$ sfdx force:package:beta:uninstall -p undesirable_package_alias","$ sfdx force:package:beta:uninstall -p \"Undesirable Package Alias\""],"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","required":true,"multiple":false}},"args":[],"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.","required":true,"input":[],"multiple":false,"type":"option"}}},"force:package:beta:update":{"id":"force:package:beta:update","description":"update package details\n\nSpecify a new value for each option you want to update.\n\nRun \"sfdx force:package:list\" to list all packages in the Dev Hub org.","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":[],"examples":["$ sfdx force:package:update -p \"Your Package Alias\" -n \"New Package Name\"","$ sfdx force:package:update -p 0Ho... -d \"New Package Description\""],"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":[],"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":[],"examples":["$ sfdx force:package:install:report -i 0Hf...","$ sfdx force:package:install:report -i 0Hf... -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},"requestid":{"name":"requestid","type":"option","char":"i","description":"ID of the package install request you want to check","required":true,"multiple":false}},"args":[],"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":[],"requiresUsername":true,"requiresProject":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":[],"examples":["$ sfdx force:package:beta:uninstall:report -i 06y...","$ sfdx force:package:beta:uninstall:report -i 06y... -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},"requestid":{"name":"requestid","type":"option","char":"i","description":"ID of the package uninstall request you want to check","required":true,"multiple":false}},"args":[],"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":[],"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\nSpecify the ID or alias of the package version you want to delete.","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":[],"examples":["$ sfdx force:package:version:delete -p \"Your Package Alias\"","$ sfdx force:package:version:delete -p 04t..."],"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":[],"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":[],"examples":["$ sfdx force:package:version:displayancestry -p package_version_alias","$ sfdx force:package:version:displayancestry -p package_version_alias --dotcode","$ sfdx force:package:version:displayancestry -p OHo...","$ sfdx force:package:version:displayancestry -p 04t..."],"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":[],"showProgress":false,"varargs":false,"requiresDevhubUsername":true,"requiresProject":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.\n\nDisplays 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).","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":[],"examples":["$ sfdx force:package:version:list --verbose --createdlastdays 3 --released --orderby PatchVersion","$ sfdx force:package:version:list --packages 0Ho000000000000,0Ho000000000001 --released --modifiedlastdays 0","$ sfdx force:package:version:list --released","$ sfdx force:package:version:list --concise --modifiedlastdays 0","$ sfdx force:package:version:list --concise -c 3 -r","$ sfdx force:package:version:list --packages exp-mgr,exp-mgr-util --released --modifiedlastdays 0"],"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":[],"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\n\nSupply the ID or alias of the package version you want to promote. Promotes the package version to released status.","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":[],"examples":["$ sfdx force:package:version:promote -p 04t...","$ sfdx force:package:version:promote -p awesome_package_alias","$ sfdx force:package:version:promote -p \"Awesome Package Alias\""],"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":[],"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\n\nTo update package version values, run \"sfdx force:package:version:update\".","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":[],"examples":["$ sfdx force:package:version:report -p 04t...","$ sfdx force:package:version:report -p \"Your Package Alias\""],"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":[],"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\n\nSpecify a new value for each option you want to update.\n\nTo display details about a package version, run \"sfdx force:package:version:report\".","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":[],"examples":["$ sfdx force:package:version:update -p \"Your Package Alias\" -k password123","$ sfdx force:package:version:update -p 04t... -b main -t 'Release 1.0.7'","$ sfdx force:package:version:update -p 04t... -e \"New Package Version Description\""],"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":[],"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\nThe package version is based on the contents of the specified metadata package. Omit -m if you want to create an unmanaged package version.","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":[],"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":[],"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":[],"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\n\nShows 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.","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":[],"examples":["$ sfdx force:package:version:create:list","$ sfdx force:package:version:create:list --createdlastdays 3","$ sfdx force:package:version:create:list --status Error","$ sfdx force:package:version:create:list -s InProgress","$ sfdx force:package:version:create:list -c 3 -s Success"],"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":[],"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\n\nSpecify the request ID for which you want to view details. If applicable, the command displays errors related to the request.\n\nTo show all requests in the org, run \"sfdx force:package:version:create:list\".","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":[],"examples":["$ sfdx force:package:version:create:report -i 08c...","$ sfdx force:package:version:create:report -i 08c... -v 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"},"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":[],"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":["$ 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,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-packaging",
3
3
  "description": "SFDX plugin that support Salesforce Packaging Platform",
4
- "version": "1.8.0",
4
+ "version": "1.9.0",
5
5
  "main": "lib/index.js",
6
6
  "author": "Salesforce",
7
7
  "bugs": "https://github.com/forcedotcom/cli/issues",
@@ -189,7 +189,7 @@
189
189
  "access": "public"
190
190
  },
191
191
  "sfdx": {
192
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/1.8.0.crt",
193
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/1.8.0.sig"
192
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/1.9.0.crt",
193
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/1.9.0.sig"
194
194
  }
195
195
  }