@salesforce/plugin-packaging 1.2.1 → 1.5.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.
Files changed (105) hide show
  1. package/CHANGELOG.md +10 -1
  2. package/README.md +217 -31
  3. package/lib/commands/force/package/beta/convert.d.ts +1 -5
  4. package/lib/commands/force/package/beta/convert.js +2 -3
  5. package/lib/commands/force/package/beta/convert.js.map +1 -1
  6. package/lib/commands/force/package/beta/create.d.ts +1 -4
  7. package/lib/commands/force/package/beta/create.js +2 -3
  8. package/lib/commands/force/package/beta/create.js.map +1 -1
  9. package/lib/commands/force/package/beta/delete.d.ts +1 -4
  10. package/lib/commands/force/package/beta/delete.js +2 -3
  11. package/lib/commands/force/package/beta/delete.js.map +1 -1
  12. package/lib/commands/force/package/beta/install/report.d.ts +1 -3
  13. package/lib/commands/force/package/beta/install/report.js +2 -2
  14. package/lib/commands/force/package/beta/install/report.js.map +1 -1
  15. package/lib/commands/force/package/beta/install.d.ts +1 -3
  16. package/lib/commands/force/package/beta/install.js +3 -3
  17. package/lib/commands/force/package/beta/install.js.map +1 -1
  18. package/lib/commands/force/package/beta/installed/list.d.ts +1 -1
  19. package/lib/commands/force/package/beta/installed/list.js +1 -1
  20. package/lib/commands/force/package/beta/installed/list.js.map +1 -1
  21. package/lib/commands/force/package/beta/list.d.ts +1 -4
  22. package/lib/commands/force/package/beta/list.js +2 -3
  23. package/lib/commands/force/package/beta/list.js.map +1 -1
  24. package/lib/commands/force/package/beta/uninstall/report.d.ts +1 -3
  25. package/lib/commands/force/package/beta/uninstall/report.js +2 -2
  26. package/lib/commands/force/package/beta/uninstall/report.js.map +1 -1
  27. package/lib/commands/force/package/beta/uninstall.d.ts +2 -2
  28. package/lib/commands/force/package/beta/uninstall.js +31 -6
  29. package/lib/commands/force/package/beta/uninstall.js.map +1 -1
  30. package/lib/commands/force/package/beta/update.d.ts +1 -4
  31. package/lib/commands/force/package/beta/update.js +2 -3
  32. package/lib/commands/force/package/beta/update.js.map +1 -1
  33. package/lib/commands/force/package/beta/version/create/list.d.ts +1 -5
  34. package/lib/commands/force/package/beta/version/create/list.js +2 -3
  35. package/lib/commands/force/package/beta/version/create/list.js.map +1 -1
  36. package/lib/commands/force/package/beta/version/create/report.d.ts +1 -3
  37. package/lib/commands/force/package/beta/version/create/report.js +3 -3
  38. package/lib/commands/force/package/beta/version/create/report.js.map +1 -1
  39. package/lib/commands/force/package/beta/version/create.d.ts +0 -2
  40. package/lib/commands/force/package/beta/version/create.js +2 -9
  41. package/lib/commands/force/package/beta/version/create.js.map +1 -1
  42. package/lib/commands/force/package/beta/version/delete.d.ts +1 -4
  43. package/lib/commands/force/package/beta/version/delete.js +2 -3
  44. package/lib/commands/force/package/beta/version/delete.js.map +1 -1
  45. package/lib/commands/force/package/beta/version/displayancestry.d.ts +1 -4
  46. package/lib/commands/force/package/beta/version/displayancestry.js +2 -3
  47. package/lib/commands/force/package/beta/version/displayancestry.js.map +1 -1
  48. package/lib/commands/force/package/beta/version/list.d.ts +1 -5
  49. package/lib/commands/force/package/beta/version/list.js +2 -3
  50. package/lib/commands/force/package/beta/version/list.js.map +1 -1
  51. package/lib/commands/force/package/beta/version/promote.d.ts +3 -5
  52. package/lib/commands/force/package/beta/version/promote.js +34 -5
  53. package/lib/commands/force/package/beta/version/promote.js.map +1 -1
  54. package/lib/commands/force/package/beta/version/report.d.ts +1 -4
  55. package/lib/commands/force/package/beta/version/report.js +2 -3
  56. package/lib/commands/force/package/beta/version/report.js.map +1 -1
  57. package/lib/commands/force/package/beta/version/update.d.ts +1 -4
  58. package/lib/commands/force/package/beta/version/update.js +2 -3
  59. package/lib/commands/force/package/beta/version/update.js.map +1 -1
  60. package/lib/commands/force/package1/beta/version/create/get.js +1 -4
  61. package/lib/commands/force/package1/beta/version/create/get.js.map +1 -1
  62. package/lib/commands/force/package1/beta/version/create.d.ts +0 -2
  63. package/lib/commands/force/package1/beta/version/create.js +0 -2
  64. package/lib/commands/force/package1/beta/version/create.js.map +1 -1
  65. package/lib/commands/force/package1/beta/version/display.d.ts +0 -1
  66. package/lib/commands/force/package1/beta/version/display.js +0 -1
  67. package/lib/commands/force/package1/beta/version/display.js.map +1 -1
  68. package/lib/commands/force/package1/beta/version/list.d.ts +0 -2
  69. package/lib/commands/force/package1/beta/version/list.js +0 -2
  70. package/lib/commands/force/package1/beta/version/list.js.map +1 -1
  71. package/messages/package1_version_create.md +0 -7
  72. package/messages/package1_version_create_get.md +5 -1
  73. package/messages/package2_create.md +2 -1
  74. package/messages/package2_update.md +2 -1
  75. package/messages/package2_version_create.md +2 -1
  76. package/messages/package2_version_create_get.md +2 -1
  77. package/messages/package2_version_create_list.md +2 -1
  78. package/messages/package2_version_get.md +1 -2
  79. package/messages/package2_version_list.md +2 -1
  80. package/messages/package2_version_update.md +2 -1
  81. package/messages/package_convert.md +2 -7
  82. package/messages/package_create.md +2 -7
  83. package/messages/package_delete.md +2 -5
  84. package/messages/package_displayancestry.md +1 -6
  85. package/messages/package_install.md +2 -7
  86. package/messages/package_install_get.md +1 -2
  87. package/messages/package_install_report.md +1 -6
  88. package/messages/package_install_request.md +1 -2
  89. package/messages/package_installed_list.md +0 -4
  90. package/messages/package_list.md +2 -7
  91. package/messages/package_uninstall.md +2 -11
  92. package/messages/package_uninstall_get.md +1 -2
  93. package/messages/package_uninstall_report.md +1 -6
  94. package/messages/package_update.md +2 -7
  95. package/messages/package_version_create_list.md +5 -10
  96. package/messages/package_version_create_report.md +2 -7
  97. package/messages/package_version_delete.md +2 -8
  98. package/messages/package_version_list.md +6 -11
  99. package/messages/package_version_promote.md +3 -8
  100. package/messages/package_version_report.md +1 -6
  101. package/messages/package_version_update.md +2 -7
  102. package/oclif.manifest.json +1 -1
  103. package/package.json +6 -5
  104. package/messages/default.md +0 -1127
  105. package/messages/messages.json +0 -22
package/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ### 1.2.1 (2022-08-22)
5
+ ## 1.5.0 (2022-08-24)
6
6
 
7
7
  ### Features
8
8
 
@@ -13,7 +13,10 @@ All notable changes to this project will be documented in this file. See [standa
13
13
 
14
14
  ### Bug Fixes
15
15
 
16
+ - add direct chalk dependency ([11e7b49](https://github.com/salesforcecli/plugin-packaging/commit/11e7b49b0d886e30893d18d861c8b668b7b031e9))
17
+ - add direct chalk dependency ([cf18904](https://github.com/salesforcecli/plugin-packaging/commit/cf189044fc17b1a92e143b872811462070d15707))
16
18
  - add force:package:beta:install:report command ([1044e0e](https://github.com/salesforcecli/plugin-packaging/commit/1044e0ed08763deae904e491a2b8681dadac4ec4))
19
+ - add package:beta:version:promote and NUT ([8db94c2](https://github.com/salesforcecli/plugin-packaging/commit/8db94c2b74e39c275774578a1c488288ca134321))
17
20
  - add package:uninstall command ([86db455](https://github.com/salesforcecli/plugin-packaging/commit/86db45584449cb6ab59c7f45734413f92647362e))
18
21
  - add package1:beta:version:create:get command, UTs, placeholder NUT ([9d3f4f5](https://github.com/salesforcecli/plugin-packaging/commit/9d3f4f5786f4c2bf42b81bc29b5b5da42a989e36))
19
22
  - add package1:version:list command, UTs, NUTs ([ecfbcd4](https://github.com/salesforcecli/plugin-packaging/commit/ecfbcd4aa1152bacbf99728f55599ab1be8a21f4))
@@ -25,12 +28,18 @@ All notable changes to this project will be documented in this file. See [standa
25
28
  - lint fixes ([ac8cceb](https://github.com/salesforcecli/plugin-packaging/commit/ac8cceb91b76b90671acc6029c3329390b34b9aa))
26
29
  - package list ([9d88ff5](https://github.com/salesforcecli/plugin-packaging/commit/9d88ff531898453158410b566ae5f2175b07ae99))
27
30
  - package:installed:list command ([3169872](https://github.com/salesforcecli/plugin-packaging/commit/3169872cc959a18389f8c177ae8d3b9c09dd105c))
31
+ - pass installation key when getting external sites ([982a2f2](https://github.com/salesforcecli/plugin-packaging/commit/982a2f20f793c19ffb33f37f4c38ba76cc9a80c8))
28
32
  - pkg create and delete commands ([f872b2b](https://github.com/salesforcecli/plugin-packaging/commit/f872b2bbbbc28c4324e7ac026a26ee914fcf0eac))
29
33
  - pkg create and delete commands ([c71ca30](https://github.com/salesforcecli/plugin-packaging/commit/c71ca3073840afcc1ac931c2fcde595d91265730))
34
+ - remove longDescription and help for description ([8ea4663](https://github.com/salesforcecli/plugin-packaging/commit/8ea46639d74c58ecd7c927f82374138b729e464e))
30
35
  - return results even if not json ([b08c91b](https://github.com/salesforcecli/plugin-packaging/commit/b08c91bfbe552a419740de97a8b1af57d1bb38aa))
36
+ - several fixes for pkg commands ([22c81af](https://github.com/salesforcecli/plugin-packaging/commit/22c81afddd7d2339027d65fc1c21b68e1bbca3c5))
37
+ - several fixes for pkg commands ([bc1614d](https://github.com/salesforcecli/plugin-packaging/commit/bc1614df3da386d8a3b4f156f96ace6fdd7a72b5))
31
38
  - some install command work ([1adbf01](https://github.com/salesforcecli/plugin-packaging/commit/1adbf01fac8258b50af1628d8fc4c9b3d04fbe58))
32
39
  - some install command work ([1adfd60](https://github.com/salesforcecli/plugin-packaging/commit/1adfd6022d3fad0bd0cc76d75a4c0e8856b5ce83))
33
40
  - suppot 15-char IDs ([0674125](https://github.com/salesforcecli/plugin-packaging/commit/0674125d6370f6dd261f82c56bbb9cc1bcae4377))
41
+ - type on event consumer for pvc ([e4200cc](https://github.com/salesforcecli/plugin-packaging/commit/e4200ccffefe090fa3b2d287d0487f830214d2c1))
34
42
  - update README and fix test output ([ad00150](https://github.com/salesforcecli/plugin-packaging/commit/ad0015011696d051bfaec682f67997e763f1fd85))
43
+ - update tests ([fe81cab](https://github.com/salesforcecli/plugin-packaging/commit/fe81cab659990e3d5375ab13cb357ea6f7dddb17))
35
44
  - use correct message based on flags ([84a3d96](https://github.com/salesforcecli/plugin-packaging/commit/84a3d96d129072c857e496a75d3ab11824ba82e2))
36
45
  - use os specific line endings ([fd431e8](https://github.com/salesforcecli/plugin-packaging/commit/fd431e8c73179fd40f31c75e434210e0bd8074b9))
package/README.md CHANGED
@@ -78,7 +78,7 @@ sfdx plugins
78
78
  - [`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]`](#sfdx-forcepackagebetainstallreport--i-id--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
79
79
  - [`sfdx force:package:beta:installed:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetainstalledlist--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
80
80
  - [`sfdx force:package:beta:list [-v <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetalist--v-string---apiversion-string---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
81
- - [`sfdx force:package:beta:uninstall [-w <minutes>] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetauninstall--w-minutes--p-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
81
+ - [`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]`](#sfdx-forcepackagebetauninstall--p-string--w-minutes--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
82
82
  - [`sfdx force:package:beta:uninstall:report -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetauninstallreport--i-id--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
83
83
  - [`sfdx force:package:beta:update -p <string> [-n <string>] [-d <string>] [-o <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetaupdate--p-string--n-string--d-string--o-string--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
84
84
  - [`sfdx force:package:beta:version:create [-b <string>] [-c | --skipvalidation] [-f <filepath>] [-k <string>] [-x] [-p <string>] [-d <directory>] [--postinstallscript <string>] [--postinstallurl <url>] [--releasenotesurl <url>] [--skipancestorcheck] [-t <string>] [--uninstallscript <string>] [-e <string>] [-a <string>] [-n <string>] [-w <minutes>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetaversioncreate--b-string--c----skipvalidation--f-filepath--k-string--x--p-string--d-directory---postinstallscript-string---postinstallurl-url---releasenotesurl-url---skipancestorcheck--t-string---uninstallscript-string--e-string--a-string--n-string--w-minutes--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
@@ -127,9 +127,12 @@ FLAGS
127
127
 
128
128
  DESCRIPTION
129
129
  create a first-generation package version in the release org
130
+
131
+ The package version is based on the contents of the specified metadata package. Omit -m if you want to create an
132
+ unmanaged package version.
130
133
  ```
131
134
 
132
- _See code: [src/commands/force/package1/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package1/beta/version/create.ts)_
135
+ _See code: [src/commands/force/package1/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package1/beta/version/create.ts)_
133
136
 
134
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]`
135
138
 
@@ -154,14 +157,12 @@ DESCRIPTION
154
157
  retrieve the status of a package version creation request
155
158
 
156
159
  EXAMPLES
157
- Examples:
158
-
159
160
  $ sfdx force:package1:version:create:get -i 0HD...
160
161
 
161
162
  $ sfdx force:package1:version:create:get -i 0HD... -u devhub@example.com
162
163
  ```
163
164
 
164
- _See code: [src/commands/force/package1/beta/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package1/beta/version/create/get.ts)_
165
+ _See code: [src/commands/force/package1/beta/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package1/beta/version/create/get.ts)_
165
166
 
166
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]`
167
168
 
@@ -187,7 +188,7 @@ DESCRIPTION
187
188
  display details about a first-generation package version
188
189
  ```
189
190
 
190
- _See code: [src/commands/force/package1/beta/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package1/beta/version/display.ts)_
191
+ _See code: [src/commands/force/package1/beta/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package1/beta/version/display.ts)_
191
192
 
192
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]`
193
194
 
@@ -213,7 +214,7 @@ DESCRIPTION
213
214
  list package versions for the specified first-generation package or for the org
214
215
  ```
215
216
 
216
- _See code: [src/commands/force/package1/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package1/beta/version/list.ts)_
217
+ _See code: [src/commands/force/package1/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package1/beta/version/list.ts)_
217
218
 
218
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]`
219
220
 
@@ -250,9 +251,24 @@ FLAGS
250
251
 
251
252
  DESCRIPTION
252
253
  create a package
254
+
255
+ First, use this command to create a package. Then create a package version.
256
+
257
+ If you don’t have a namespace defined in your sfdx-project.json file, use --nonamespace.
258
+
259
+ Your --name value must be unique within your namespace.
260
+
261
+ EXAMPLES
262
+ $ sfdx force:package:create -n YourPackageName -t Unlocked -r force-app
263
+
264
+ $ sfdx force:package:create -n YourPackageName -d "Your Package Descripton" -t Unlocked -r force-app
265
+
266
+
267
+
268
+ Run 'sfdx force:package:list' to list all packages in the Dev Hub org.
253
269
  ```
254
270
 
255
- _See code: [src/commands/force/package/beta/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/create.ts)_
271
+ _See code: [src/commands/force/package/beta/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/create.ts)_
256
272
 
257
273
  ## `sfdx force:package:beta:delete -p <string> [-n] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
258
274
 
@@ -278,9 +294,19 @@ FLAGS
278
294
 
279
295
  DESCRIPTION
280
296
  delete a package
297
+
298
+ Specify the ID or alias of the package you want to delete.
299
+
300
+ Delete unlocked and second-generation managed packages. Before you delete a package, first delete all associated
301
+ package versions.
302
+
303
+ EXAMPLES
304
+ $ sfdx force:package:delete -p "Your Package Alias"
305
+
306
+ $ sfdx force:package:delete -p 0Ho...
281
307
  ```
282
308
 
283
- _See code: [src/commands/force/package/beta/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/delete.ts)_
309
+ _See code: [src/commands/force/package/beta/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/delete.ts)_
284
310
 
285
311
  ## `sfdx force:package:beta:install -p <string> [-w <minutes>] [-k <string>] [-b <minutes>] [-r] [-a all|package] [-s AllUsers|AdminsOnly] [-t DeprecateOnly|Mixed|Delete] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
286
312
 
@@ -332,9 +358,28 @@ FLAGS
332
358
 
333
359
  DESCRIPTION
334
360
  install a package in the target org
361
+
362
+ Supply the ID of the package version to install. The package installs in your default target org unless you supply the
363
+ username for a different target org.
364
+
365
+ For package upgrades, to specify options for component deprecation or deletion of removed components, include an
366
+ --upgradetype value. To delete components that can be safely deleted and deprecate the others, specify --upgradetype
367
+ Mixed (the default). To deprecate all removed components, specify --upgradetype DeprecateOnly. To delete all removed
368
+ components, except for custom objects and custom fields, that don't have dependencies, specify --upgradetype Delete.
369
+ (Note: This option can result in the loss of data that is associated with the deleted components.) The default is
370
+ Mixed.
371
+
372
+ EXAMPLES
373
+ $ sfdx force:package:beta:install --package 04t... -u me@example.com
374
+
375
+ $ sfdx force:package:beta:install --package awesome_package_alias
376
+
377
+ $ sfdx force:package:beta:install --package "Awesome Package Alias"
378
+
379
+ $ sfdx force:package:beta:install --package 04t... -t DeprecateOnly
335
380
  ```
336
381
 
337
- _See code: [src/commands/force/package/beta/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/install.ts)_
382
+ _See code: [src/commands/force/package/beta/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/install.ts)_
338
383
 
339
384
  ## `sfdx force:package:beta:install:report -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
340
385
 
@@ -358,9 +403,14 @@ FLAGS
358
403
 
359
404
  DESCRIPTION
360
405
  retrieve the status of a package installation request
406
+
407
+ EXAMPLES
408
+ $ sfdx force:package:install:report -i 0Hf...
409
+
410
+ $ sfdx force:package:install:report -i 0Hf... -u me@example.com
361
411
  ```
362
412
 
363
- _See code: [src/commands/force/package/beta/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/install/report.ts)_
413
+ _See code: [src/commands/force/package/beta/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/install/report.ts)_
364
414
 
365
415
  ## `sfdx force:package:beta:installed:list [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
366
416
 
@@ -389,7 +439,7 @@ EXAMPLES
389
439
  $ sfdx force:package:installed:list -u me@example.com
390
440
  ```
391
441
 
392
- _See code: [src/commands/force/package/beta/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/installed/list.ts)_
442
+ _See code: [src/commands/force/package/beta/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/installed/list.ts)_
393
443
 
394
444
  ## `sfdx force:package:beta:list [-v <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
395
445
 
@@ -412,22 +462,30 @@ FLAGS
412
462
 
413
463
  DESCRIPTION
414
464
  list all packages in the Dev Hub org
465
+
466
+ You can view the namespace, IDs, and other details for each package.
467
+
468
+ EXAMPLES
469
+ $ sfdx force:package:list -v devhub@example.com
470
+
471
+ $ sfdx force:package:list -v devhub@example.com --verbose
415
472
  ```
416
473
 
417
- _See code: [src/commands/force/package/beta/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/list.ts)_
474
+ _See code: [src/commands/force/package/beta/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/list.ts)_
418
475
 
419
- ## `sfdx force:package:beta:uninstall [-w <minutes>] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
476
+ ## `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]`
420
477
 
421
478
  uninstall a second-generation package from the target org
422
479
 
423
480
  ```
424
481
  USAGE
425
- $ sfdx force:package:beta:uninstall [-w <minutes>] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
482
+ $ sfdx force:package:beta:uninstall -p <string> [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
426
483
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
427
484
 
428
485
  FLAGS
429
- -p, --package=<value> ID (starts with 04t) or alias of the
430
- package version to uninstall
486
+ -p, --package=<value> (required) ID (starts with 04t) or
487
+ alias of the package version to
488
+ uninstall
431
489
  -u, --targetusername=<value> username or alias for the target
432
490
  org; overrides default target org
433
491
  -w, --wait=<value> [default: 0 minutes] number of
@@ -440,9 +498,26 @@ FLAGS
440
498
 
441
499
  DESCRIPTION
442
500
  uninstall a second-generation package from the target org
501
+
502
+ Specify the package ID for a second-generation package.
503
+
504
+ EXAMPLES
505
+ $ sfdx force:package:beta:uninstall -p 04t... -u me@example.com
506
+
507
+ $ sfdx force:package:beta:uninstall -p undesirable_package_alias
508
+
509
+ $ sfdx force:package:beta:uninstall -p "Undesirable Package Alias"
510
+
511
+
512
+
513
+ To list the org’s installed packages, run "sfdx force:package:beta:installed:list".
514
+
515
+
516
+
517
+ To uninstall a first-generation package, from Setup, enter Installed Packages in the Quick Find box, then select Installed Packages.
443
518
  ```
444
519
 
445
- _See code: [src/commands/force/package/beta/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/uninstall.ts)_
520
+ _See code: [src/commands/force/package/beta/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/uninstall.ts)_
446
521
 
447
522
  ## `sfdx force:package:beta:uninstall:report -i <id> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
448
523
 
@@ -466,9 +541,14 @@ FLAGS
466
541
 
467
542
  DESCRIPTION
468
543
  retrieve status of package uninstall request
544
+
545
+ EXAMPLES
546
+ $ sfdx force:package:uninstall:report -i 06y...
547
+
548
+ $ sfdx force:package:uninstall:report -i 06y... -u me@example.com
469
549
  ```
470
550
 
471
- _See code: [src/commands/force/package/beta/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/uninstall/report.ts)_
551
+ _See code: [src/commands/force/package/beta/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/uninstall/report.ts)_
472
552
 
473
553
  ## `sfdx force:package:beta:update -p <string> [-n <string>] [-d <string>] [-o <string>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
474
554
 
@@ -497,9 +577,20 @@ FLAGS
497
577
 
498
578
  DESCRIPTION
499
579
  update package details
580
+
581
+ Specify a new value for each option you want to update.
582
+
583
+ EXAMPLES
584
+ $ sfdx force:package:update -p "Your Package Alias" -n "New Package Name"
585
+
586
+ $ sfdx force:package:update -p 0Ho... -d "New Package Description"
587
+
588
+
589
+
590
+ Run "sfdx force:package:list" to list all packages in the Dev Hub org.
500
591
  ```
501
592
 
502
- _See code: [src/commands/force/package/beta/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/update.ts)_
593
+ _See code: [src/commands/force/package/beta/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/update.ts)_
503
594
 
504
595
  ## `sfdx force:package:beta:version:create [-b <string>] [-c | --skipvalidation] [-f <filepath>] [-k <string>] [-x] [-p <string>] [-d <directory>] [--postinstallscript <string>] [--postinstallurl <url>] [--releasenotesurl <url>] [--skipancestorcheck] [-t <string>] [--uninstallscript <string>] [-e <string>] [-a <string>] [-n <string>] [-w <minutes>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
505
596
 
@@ -573,7 +664,7 @@ EXAMPLES
573
664
  $ sfdx force:package:version:create -d common -k password123 --skipvalidation
574
665
  ```
575
666
 
576
- _See code: [src/commands/force/package/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/create.ts)_
667
+ _See code: [src/commands/force/package/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/version/create.ts)_
577
668
 
578
669
  ## `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]`
579
670
 
@@ -600,9 +691,26 @@ FLAGS
600
691
 
601
692
  DESCRIPTION
602
693
  list package version creation requests
694
+
695
+ Shows the details of each request to create a package version in the Dev Hub org.
696
+
697
+ All filter parameters are applied using the AND logical operator (not OR).
698
+
699
+ To get information about a specific request, run "sfdx force:package:version:create:report" and supply the request ID.
700
+
701
+ EXAMPLES
702
+ $ sfdx force:package:version:create:list
703
+
704
+ $ sfdx force:package:version:create:list --createdlastdays 3
705
+
706
+ $ sfdx force:package:version:create:list --status Error
707
+
708
+ $ sfdx force:package:version:create:list -s InProgress
709
+
710
+ $ sfdx force:package:version:create:list -c 3 -s Success
603
711
  ```
604
712
 
605
- _See code: [src/commands/force/package/beta/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/create/list.ts)_
713
+ _See code: [src/commands/force/package/beta/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/version/create/list.ts)_
606
714
 
607
715
  ## `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]`
608
716
 
@@ -626,9 +734,21 @@ FLAGS
626
734
 
627
735
  DESCRIPTION
628
736
  retrieve details about a package version creation request
737
+
738
+ Specify the request ID for which you want to view details. If applicable, the command displays errors related to the
739
+ request.
740
+
741
+ EXAMPLES
742
+ $ sfdx force:package:version:create:report -i 08c...
743
+
744
+ $ sfdx force:package:version:create:report -i 08c... -v devhub@example.com
745
+
746
+
747
+
748
+ To show all requests in the org, run "sfdx force:package:version:create:list".
629
749
  ```
630
750
 
631
- _See code: [src/commands/force/package/beta/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/create/report.ts)_
751
+ _See code: [src/commands/force/package/beta/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/version/create/report.ts)_
632
752
 
633
753
  ## `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]`
634
754
 
@@ -655,9 +775,16 @@ FLAGS
655
775
 
656
776
  DESCRIPTION
657
777
  delete a package version
778
+
779
+ Specify the ID or alias of the package version you want to delete.
780
+
781
+ EXAMPLES
782
+ $ sfdx force:package:version:delete -p "Your Package Alias"
783
+
784
+ $ sfdx force:package:version:delete -p 04t...
658
785
  ```
659
786
 
660
- _See code: [src/commands/force/package/beta/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/delete.ts)_
787
+ _See code: [src/commands/force/package/beta/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/version/delete.ts)_
661
788
 
662
789
  ## `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]`
663
790
 
@@ -689,13 +816,22 @@ FLAGS
689
816
 
690
817
  DESCRIPTION
691
818
  display the ancestry tree for a 2GP managed package version
819
+
820
+ EXAMPLES
821
+ $ sfdx force:package:version:displayancestry -p package_version_alias
822
+
823
+ $ sfdx force:package:version:displayancestry -p package_version_alias --dotcode
824
+
825
+ $ sfdx force:package:version:displayancestry -p OHo...
826
+
827
+ $ sfdx force:package:version:displayancestry -p 04t...
692
828
  ```
693
829
 
694
- _See code: [src/commands/force/package/beta/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/displayancestry.ts)_
830
+ _See code: [src/commands/force/package/beta/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/version/displayancestry.ts)_
695
831
 
696
832
  ## `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]`
697
833
 
698
- list all package versions in the Dev Hub org
834
+ list all package versions in the Dev Hub org.
699
835
 
700
836
  ```
701
837
  USAGE
@@ -730,10 +866,29 @@ FLAGS
730
866
  details
731
867
 
732
868
  DESCRIPTION
733
- list all package versions in the Dev Hub org
869
+ list all package versions in the Dev Hub org.
870
+
871
+ Displays details of each package version in the org.
872
+
873
+ Use --concise or --verbose to display limited or additional details, respectively.
874
+
875
+ All filter parameters are applied using the AND logical operator (not OR).
876
+
877
+ EXAMPLES
878
+ $ sfdx force:package:version:list --verbose --createdlastdays 3 --released --orderby PatchVersion
879
+
880
+ $ sfdx force:package:version:list --packages 0Ho000000000000,0Ho000000000001 --released --modifiedlastdays 0
881
+
882
+ $ sfdx force:package:version:list --released
883
+
884
+ $ sfdx force:package:version:list --concise --modifiedlastdays 0
885
+
886
+ $ sfdx force:package:version:list --concise -c 3 -r
887
+
888
+ $ sfdx force:package:version:list --packages exp-mgr,exp-mgr-util --released --modifiedlastdays 0
734
889
  ```
735
890
 
736
- _See code: [src/commands/force/package/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/list.ts)_
891
+ _See code: [src/commands/force/package/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/version/list.ts)_
737
892
 
738
893
  ## `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]`
739
894
 
@@ -760,9 +915,18 @@ FLAGS
760
915
 
761
916
  DESCRIPTION
762
917
  promote a package version to released
918
+
919
+ Supply the ID or alias of the package version you want to promote. Promotes the package version to released status.
920
+
921
+ EXAMPLES
922
+ $ sfdx force:package:version:promote -p 04t...
923
+
924
+ $ sfdx force:package:version:promote -p awesome_package_alias
925
+
926
+ $ sfdx force:package:version:promote -p "Awesome Package Alias"
763
927
  ```
764
928
 
765
- _See code: [src/commands/force/package/beta/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/promote.ts)_
929
+ _See code: [src/commands/force/package/beta/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/version/promote.ts)_
766
930
 
767
931
  ## `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]`
768
932
 
@@ -789,9 +953,18 @@ FLAGS
789
953
 
790
954
  DESCRIPTION
791
955
  retrieve details about a package version in the Dev Hub org
956
+
957
+ EXAMPLES
958
+ $ sfdx force:package:version:report -p 04t...
959
+
960
+ $ sfdx force:package:version:report -p "Your Package Alias"
961
+
962
+
963
+
964
+ To update package version values, run "sfdx force:package:version:update".
792
965
  ```
793
966
 
794
- _See code: [src/commands/force/package/beta/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/report.ts)_
967
+ _See code: [src/commands/force/package/beta/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/version/report.ts)_
795
968
 
796
969
  ## `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]`
797
970
 
@@ -824,8 +997,21 @@ FLAGS
824
997
 
825
998
  DESCRIPTION
826
999
  update a package version
1000
+
1001
+ Specify a new value for each option you want to update.
1002
+
1003
+ EXAMPLES
1004
+ $ sfdx force:package:version:update -p "Your Package Alias" -k password123
1005
+
1006
+ $ sfdx force:package:version:update -p 04t... -b main -t 'Release 1.0.7'
1007
+
1008
+ $ sfdx force:package:version:update -p 04t... -e "New Package Version Description"
1009
+
1010
+
1011
+
1012
+ To display details about a package version, run "sfdx force:package:version:report".
827
1013
  ```
828
1014
 
829
- _See code: [src/commands/force/package/beta/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.2.1/src/commands/force/package/beta/version/update.ts)_
1015
+ _See code: [src/commands/force/package/beta/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.4.0/src/commands/force/package/beta/version/update.ts)_
830
1016
 
831
1017
  <!-- commandsstop -->
@@ -1,12 +1,8 @@
1
1
  import { FlagsConfig, SfdxCommand } from '@salesforce/command';
2
- import { SfdxPropertyKeys } from '@salesforce/core';
3
2
  export declare class PackageConvert extends SfdxCommand {
4
3
  static readonly description: string;
5
- static readonly longDescription: string;
6
- static readonly help: string;
7
- static readonly orgType = SfdxPropertyKeys.DEFAULT_DEV_HUB_USERNAME;
4
+ static readonly examples: string[];
8
5
  static readonly requiresDevhubUsername = true;
9
- static readonly: any;
10
6
  static readonly hidden = true;
11
7
  static readonly flagsConfig: FlagsConfig;
12
8
  run(): Promise<unknown>;
@@ -7,6 +7,7 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.PackageConvert = void 0;
10
+ const os = require("os");
10
11
  const command_1 = require("@salesforce/command");
11
12
  const kit_1 = require("@salesforce/kit");
12
13
  const core_1 = require("@salesforce/core");
@@ -20,9 +21,7 @@ class PackageConvert extends command_1.SfdxCommand {
20
21
  }
21
22
  exports.PackageConvert = PackageConvert;
22
23
  PackageConvert.description = messages.getMessage('cliDescription');
23
- PackageConvert.longDescription = messages.getMessage('cliLongDescription');
24
- PackageConvert.help = messages.getMessage('help');
25
- PackageConvert.orgType = core_1.SfdxPropertyKeys.DEFAULT_DEV_HUB_USERNAME;
24
+ PackageConvert.examples = messages.getMessage('examples').split(os.EOL);
26
25
  PackageConvert.requiresDevhubUsername = true;
27
26
  PackageConvert.hidden = true;
28
27
  PackageConvert.flagsConfig = {
@@ -1 +1 @@
1
- {"version":3,"file":"convert.js","sourceRoot":"","sources":["../../../../../src/commands/force/package/beta/convert.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iDAAsE;AACtE,yCAA2C;AAC3C,2CAA8D;AAE9D,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,M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KACb,CAAC;CACH,CAAC"}
@@ -1,10 +1,7 @@
1
1
  import { FlagsConfig, SfdxCommand } from '@salesforce/command';
2
- import { SfdxPropertyKeys } from '@salesforce/core';
3
2
  export declare class PackageCreateCommand extends SfdxCommand {
4
3
  static readonly description: string;
5
- static readonly longDescription: string;
6
- static readonly help: string;
7
- static readonly orgType = SfdxPropertyKeys.DEFAULT_DEV_HUB_USERNAME;
4
+ static readonly examples: string[];
8
5
  static readonly requiresDevhubUsername = true;
9
6
  static readonly requiresProject = true;
10
7
  static readonly flagsConfig: FlagsConfig;
@@ -7,6 +7,7 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.PackageCreateCommand = void 0;
10
+ const os = require("os");
10
11
  const command_1 = require("@salesforce/command");
11
12
  const core_1 = require("@salesforce/core");
12
13
  const packaging_1 = require("@salesforce/packaging");
@@ -39,9 +40,7 @@ class PackageCreateCommand extends command_1.SfdxCommand {
39
40
  }
40
41
  exports.PackageCreateCommand = PackageCreateCommand;
41
42
  PackageCreateCommand.description = messages.getMessage('cliDescription');
42
- PackageCreateCommand.longDescription = messages.getMessage('cliLongDescription');
43
- PackageCreateCommand.help = messages.getMessage('help');
44
- PackageCreateCommand.orgType = core_1.SfdxPropertyKeys.DEFAULT_DEV_HUB_USERNAME;
43
+ PackageCreateCommand.examples = messages.getMessage('examples').split(os.EOL);
45
44
  PackageCreateCommand.requiresDevhubUsername = true;
46
45
  PackageCreateCommand.requiresProject = true;
47
46
  PackageCreateCommand.flagsConfig = {
@@ -1 +1 @@
1
- {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../src/commands/force/package/beta/create.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iDAAsE;AACtE,2CAA8D;AAC9D,qDAM+B;AAE/B,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,gBAAgB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CAAC,UAAU,CAAC,kBAAkB,CAAC;KACzD,CAAC;IACF,yBAAyB,EAAE,eAAK,CAAC,MAAM,CAAC;QACtC,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;QAC7D,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,+BAA+B,CAAC;KACtE,CAAC;CACH,CAAC"}
@@ -1,11 +1,8 @@
1
1
  import { FlagsConfig, SfdxCommand } from '@salesforce/command';
2
- import { SfdxPropertyKeys } from '@salesforce/core';
3
2
  import { PackageSaveResult } from '@salesforce/packaging';
4
3
  export declare class PackageDeleteCommand extends SfdxCommand {
5
4
  static readonly description: string;
6
- static readonly longDescription: string;
7
- static readonly help: string;
8
- static readonly orgType = SfdxPropertyKeys.DEFAULT_DEV_HUB_USERNAME;
5
+ static readonly examples: string[];
9
6
  static readonly requiresDevhubUsername = true;
10
7
  static readonly requiresProject = true;
11
8
  static readonly flagsConfig: FlagsConfig;
@@ -7,6 +7,7 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.PackageDeleteCommand = void 0;
10
+ const os = require("os");
10
11
  const command_1 = require("@salesforce/command");
11
12
  const core_1 = require("@salesforce/core");
12
13
  const packaging_1 = require("@salesforce/packaging");
@@ -35,9 +36,7 @@ class PackageDeleteCommand extends command_1.SfdxCommand {
35
36
  }
36
37
  exports.PackageDeleteCommand = PackageDeleteCommand;
37
38
  PackageDeleteCommand.description = messages.getMessage('cliDescription');
38
- PackageDeleteCommand.longDescription = messages.getMessage('cliLongDescription');
39
- PackageDeleteCommand.help = messages.getMessage('help');
40
- PackageDeleteCommand.orgType = core_1.SfdxPropertyKeys.DEFAULT_DEV_HUB_USERNAME;
39
+ PackageDeleteCommand.examples = messages.getMessage('examples').split(os.EOL);
41
40
  PackageDeleteCommand.requiresDevhubUsername = true;
42
41
  PackageDeleteCommand.requiresProject = true;
43
42
  PackageDeleteCommand.flagsConfig = {