@salesforce/plugin-packaging 1.12.2 → 1.12.4

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 (177) hide show
  1. package/README.md +0 -2
  2. package/lib/commands/package/convert.d.ts +23 -0
  3. package/lib/commands/package/convert.js +128 -0
  4. package/lib/commands/package/convert.js.map +1 -0
  5. package/lib/commands/package/create.d.ts +26 -0
  6. package/lib/commands/package/create.js +92 -0
  7. package/lib/commands/package/create.js.map +1 -0
  8. package/lib/commands/package/delete.d.ts +20 -0
  9. package/lib/commands/package/delete.js +65 -0
  10. package/lib/commands/package/delete.js.map +1 -0
  11. package/lib/commands/package/install/report.d.ts +19 -0
  12. package/lib/commands/package/install/report.js +65 -0
  13. package/lib/commands/package/install/report.js.map +1 -0
  14. package/lib/commands/package/install.d.ts +31 -0
  15. package/lib/commands/{force/package → package}/install.js +72 -76
  16. package/lib/commands/package/install.js.map +1 -0
  17. package/lib/commands/package/installed/list.d.ts +24 -0
  18. package/lib/commands/{force/package → package}/installed/list.js +19 -14
  19. package/lib/commands/package/installed/list.js.map +1 -0
  20. package/lib/commands/package/list.d.ts +26 -0
  21. package/lib/commands/{force/package → package}/list.js +23 -21
  22. package/lib/commands/package/list.js.map +1 -0
  23. package/lib/commands/package/uninstall/report.d.ts +15 -0
  24. package/lib/commands/package/uninstall/report.js +46 -0
  25. package/lib/commands/package/uninstall/report.js.map +1 -0
  26. package/lib/commands/package/uninstall.d.ts +19 -0
  27. package/lib/commands/package/uninstall.js +60 -0
  28. package/lib/commands/package/uninstall.js.map +1 -0
  29. package/lib/commands/package/update.d.ts +20 -0
  30. package/lib/commands/package/update.js +67 -0
  31. package/lib/commands/package/update.js.map +1 -0
  32. package/lib/commands/package/version/create/list.d.ts +18 -0
  33. package/lib/commands/{force/package → package}/version/create/list.js +28 -20
  34. package/lib/commands/package/version/create/list.js.map +1 -0
  35. package/lib/commands/package/version/create/report.d.ts +19 -0
  36. package/lib/commands/{force/package → package}/version/create/report.js +28 -24
  37. package/lib/commands/package/version/create/report.js.map +1 -0
  38. package/lib/commands/package/version/create.d.ts +40 -0
  39. package/lib/commands/package/version/create.js +220 -0
  40. package/lib/commands/package/version/create.js.map +1 -0
  41. package/lib/commands/package/version/delete.d.ts +21 -0
  42. package/lib/commands/package/version/delete.js +71 -0
  43. package/lib/commands/package/version/delete.js.map +1 -0
  44. package/lib/commands/package/version/displayancestry.d.ts +19 -0
  45. package/lib/commands/package/version/displayancestry.js +74 -0
  46. package/lib/commands/package/version/displayancestry.js.map +1 -0
  47. package/lib/commands/package/version/list.d.ts +40 -0
  48. package/lib/commands/{force/package → package}/version/list.js +56 -57
  49. package/lib/commands/package/version/list.js.map +1 -0
  50. package/lib/commands/package/version/promote.d.ts +18 -0
  51. package/lib/commands/{force/package → package}/version/promote.js +28 -25
  52. package/lib/commands/package/version/promote.js.map +1 -0
  53. package/lib/commands/package/version/report.d.ts +29 -0
  54. package/lib/commands/{force/package → package}/version/report.js +34 -32
  55. package/lib/commands/package/version/report.js.map +1 -0
  56. package/lib/commands/package/version/update.d.ts +22 -0
  57. package/lib/commands/package/version/update.js +77 -0
  58. package/lib/commands/package/version/update.js.map +1 -0
  59. package/lib/commands/package1/version/create/get.d.ts +15 -0
  60. package/lib/commands/{force/package1 → package1}/version/create/get.js +22 -14
  61. package/lib/commands/package1/version/create/get.js.map +1 -0
  62. package/lib/commands/package1/version/create.d.ts +28 -0
  63. package/lib/commands/package1/version/create.js +130 -0
  64. package/lib/commands/package1/version/create.js.map +1 -0
  65. package/lib/commands/package1/version/display.d.ts +16 -0
  66. package/lib/commands/{force/package1 → package1}/version/display.js +20 -18
  67. package/lib/commands/package1/version/display.js.map +1 -0
  68. package/lib/commands/package1/version/list.d.ts +16 -0
  69. package/lib/commands/{force/package1 → package1}/version/list.js +21 -20
  70. package/lib/commands/package1/version/list.js.map +1 -0
  71. package/messages/package1_version_create.md +33 -44
  72. package/messages/package1_version_create_get.md +11 -10
  73. package/messages/package1_version_display.md +10 -8
  74. package/messages/package1_version_list.md +14 -8
  75. package/messages/package_convert.md +31 -31
  76. package/messages/package_create.md +31 -40
  77. package/messages/package_delete.md +15 -20
  78. package/messages/package_displayancestry.md +25 -19
  79. package/messages/package_install.md +43 -52
  80. package/messages/package_install_report.md +9 -8
  81. package/messages/package_installed_list.md +9 -4
  82. package/messages/package_list.md +16 -13
  83. package/messages/package_uninstall.md +17 -15
  84. package/messages/package_uninstall_report.md +11 -10
  85. package/messages/package_update.md +13 -18
  86. package/messages/package_version_create.md +81 -127
  87. package/messages/package_version_create_list.md +26 -14
  88. package/messages/package_version_create_report.md +13 -10
  89. package/messages/package_version_delete.md +17 -17
  90. package/messages/package_version_list.md +29 -32
  91. package/messages/package_version_promote.md +22 -16
  92. package/messages/package_version_report.md +13 -14
  93. package/messages/package_version_update.md +23 -37
  94. package/messages/packaging.md +4 -12
  95. package/oclif.manifest.json +2455 -1
  96. package/package.json +61 -76
  97. package/schemas/package-convert.json +73 -0
  98. package/schemas/package-create.json +16 -0
  99. package/schemas/package-delete.json +72 -0
  100. package/schemas/package-install-report.json +169 -0
  101. package/schemas/package-install.json +169 -0
  102. package/schemas/package-installed-list.json +40 -0
  103. package/schemas/package-list.json +55 -0
  104. package/schemas/package-uninstall-report.json +51 -0
  105. package/schemas/package-uninstall.json +54 -0
  106. package/schemas/package-update.json +72 -0
  107. package/schemas/package-version-create-list.json +79 -0
  108. package/schemas/package-version-create-report.json +79 -0
  109. package/schemas/package-version-create.json +60 -0
  110. package/schemas/package-version-delete.json +72 -0
  111. package/schemas/package-version-displayancestry.json +61 -0
  112. package/schemas/package-version-list.json +146 -0
  113. package/schemas/package-version-promote.json +72 -0
  114. package/schemas/package-version-report.json +232 -0
  115. package/schemas/package-version-update.json +72 -0
  116. package/schemas/package1-version-create-get.json +91 -0
  117. package/schemas/package1-version-create.json +94 -0
  118. package/schemas/package1-version-display.json +37 -0
  119. package/schemas/package1-version-list.json +37 -0
  120. package/lib/commands/force/package/convert.d.ts +0 -11
  121. package/lib/commands/force/package/convert.js +0 -106
  122. package/lib/commands/force/package/convert.js.map +0 -1
  123. package/lib/commands/force/package/create.d.ts +0 -13
  124. package/lib/commands/force/package/create.js +0 -82
  125. package/lib/commands/force/package/create.js.map +0 -1
  126. package/lib/commands/force/package/delete.d.ts +0 -12
  127. package/lib/commands/force/package/delete.js +0 -63
  128. package/lib/commands/force/package/delete.js.map +0 -1
  129. package/lib/commands/force/package/install/report.d.ts +0 -12
  130. package/lib/commands/force/package/install/report.js +0 -39
  131. package/lib/commands/force/package/install/report.js.map +0 -1
  132. package/lib/commands/force/package/install.d.ts +0 -20
  133. package/lib/commands/force/package/install.js.map +0 -1
  134. package/lib/commands/force/package/installed/list.d.ts +0 -18
  135. package/lib/commands/force/package/installed/list.js.map +0 -1
  136. package/lib/commands/force/package/list.d.ts +0 -19
  137. package/lib/commands/force/package/list.js.map +0 -1
  138. package/lib/commands/force/package/uninstall/report.d.ts +0 -10
  139. package/lib/commands/force/package/uninstall/report.js +0 -44
  140. package/lib/commands/force/package/uninstall/report.js.map +0 -1
  141. package/lib/commands/force/package/uninstall.d.ts +0 -12
  142. package/lib/commands/force/package/uninstall.js +0 -55
  143. package/lib/commands/force/package/uninstall.js.map +0 -1
  144. package/lib/commands/force/package/update.d.ts +0 -11
  145. package/lib/commands/force/package/update.js +0 -63
  146. package/lib/commands/force/package/update.js.map +0 -1
  147. package/lib/commands/force/package/version/create/list.d.ts +0 -10
  148. package/lib/commands/force/package/version/create/list.js.map +0 -1
  149. package/lib/commands/force/package/version/create/report.d.ts +0 -11
  150. package/lib/commands/force/package/version/create/report.js.map +0 -1
  151. package/lib/commands/force/package/version/create.d.ts +0 -12
  152. package/lib/commands/force/package/version/create.js +0 -203
  153. package/lib/commands/force/package/version/create.js.map +0 -1
  154. package/lib/commands/force/package/version/delete.d.ts +0 -13
  155. package/lib/commands/force/package/version/delete.js +0 -66
  156. package/lib/commands/force/package/version/delete.js.map +0 -1
  157. package/lib/commands/force/package/version/displayancestry.d.ts +0 -13
  158. package/lib/commands/force/package/version/displayancestry.js +0 -70
  159. package/lib/commands/force/package/version/displayancestry.js.map +0 -1
  160. package/lib/commands/force/package/version/list.d.ts +0 -27
  161. package/lib/commands/force/package/version/list.js.map +0 -1
  162. package/lib/commands/force/package/version/promote.d.ts +0 -11
  163. package/lib/commands/force/package/version/promote.js.map +0 -1
  164. package/lib/commands/force/package/version/report.d.ts +0 -22
  165. package/lib/commands/force/package/version/report.js.map +0 -1
  166. package/lib/commands/force/package/version/update.d.ts +0 -11
  167. package/lib/commands/force/package/version/update.js +0 -73
  168. package/lib/commands/force/package/version/update.js.map +0 -1
  169. package/lib/commands/force/package1/version/create/get.d.ts +0 -10
  170. package/lib/commands/force/package1/version/create/get.js.map +0 -1
  171. package/lib/commands/force/package1/version/create.d.ts +0 -13
  172. package/lib/commands/force/package1/version/create.js +0 -115
  173. package/lib/commands/force/package1/version/create.js.map +0 -1
  174. package/lib/commands/force/package1/version/display.d.ts +0 -9
  175. package/lib/commands/force/package1/version/display.js.map +0 -1
  176. package/lib/commands/force/package1/version/list.d.ts +0 -9
  177. package/lib/commands/force/package1/version/list.js.map +0 -1
@@ -1,215 +1,175 @@
1
- # cliDescription
1
+ # summary
2
2
 
3
- create a package version
3
+ Create a package version in the Dev Hub org.
4
4
 
5
- # cliLongDescription
6
-
7
- Creates a package version in the Dev Hub org.
5
+ # description
8
6
 
9
7
  The package version is based on the package contents in the specified directory.
10
8
 
11
- To retrieve details about a package version create request, including status and package version ID (04t), run "sfdx force:package:version:create:report -i 08c...".
12
-
13
- We recommend that you specify the --installationkey parameter to protect the contents of your package and to prevent unauthorized installation of your package.
9
+ To retrieve details about a package version create request, including status and package version ID (04t), run "<%= config.bin %> package version create report -i 08c...".
14
10
 
15
- To list package version creation requests in the org, run "sfdx force:package:version:create:list".
11
+ We recommend that you specify the --installation-key parameter to protect the contents of your package and to prevent unauthorized installation of your package.
16
12
 
17
- To promote a package version to released, you must use the --codecoverage parameter. The package must also meet the code coverage requirements. This requirement applies to both managed and unlocked packages.
13
+ To list package version creation requests in the org, run "<%= config.bin %> package version create list".
14
+ To promote a package version to released, you must use the --code-coverage parameter. The package must also meet the code coverage requirements. This requirement applies to both managed and unlocked packages.
18
15
 
19
- We don’t calculate code coverage for org-dependent unlocked packages, or for package versions that specify --skipvalidation.
16
+ We don’t calculate code coverage for org-dependent unlocked packages, or for package versions that specify --skip-validation.
20
17
 
21
18
  # examples
22
19
 
23
- $ sfdx force:package:version:create -d common -k password123
24
- $ sfdx force:package:version:create -p "Your Package Alias" -k password123
25
- $ sfdx force:package:version:create -p 0Ho... -k password123
26
- $ sfdx force:package:version:create -d common -k password123 --skipvalidation
27
-
28
- # package
20
+ - Create a package version from the contents of the "common" directory and give it an installation key of "password123"; uses your default Dev Hub org:
29
21
 
30
- ID (starts with 0Ho) or alias of the package to create a version of
22
+ <%= config.bin %> <%= command.id %> --path common --installation-key password123
31
23
 
32
- # longPackage
24
+ - Create a package version from a package with the specified alias; uses the Dev Hub org with username devhub@example.com:
33
25
 
34
- The ID (starts with 0Ho) or alias of the package to create a version of.
26
+ <%= config.bin %> <%= command.id %> --package "Your Package Alias" --installation-key password123 --target-hub-org devhub@example.com
35
27
 
36
- # path
28
+ - Create a package version from a package with the specified ID:
37
29
 
38
- path to directory that contains the contents of the package
30
+ <%= config.bin %> <%= command.id %> --package 0Ho... --installation-key password123
39
31
 
40
- # longPath
32
+ - Create a package version and skip the validation step:
41
33
 
42
- The path to the directory that contains the contents of the package.
34
+ <%= config.bin %> <%= command.id %> --path common --installation-key password123 --skip-validation
43
35
 
44
- # definitionfile
36
+ # flags.package.summary
45
37
 
46
- 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
38
+ ID (starts with 0Ho) or alias of the package to create a version of.
47
39
 
48
- # longDefinitionfile
40
+ # flags.path.summary
49
41
 
50
- 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.
42
+ Path to the directory that contains the contents of the package.
51
43
 
52
- # branch
44
+ # flags.definition-file.summary
53
45
 
54
- the package version’s branch
46
+ 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.
55
47
 
56
- # longBranch
48
+ # flags.branch.summary
57
49
 
58
50
  Name of the branch in your source control system that the package version is based on.
59
51
 
60
- # tag
61
-
62
- the package version’s tag
63
-
64
- # longTag
65
-
66
- The package version’s tag.
52
+ # flags.tag.summary
67
53
 
68
- # key
54
+ Package version’s tag.
69
55
 
70
- installation key for key-protected package (either --installationkey or --installationkeybypass is required)
56
+ # flags.installation-key.summary
71
57
 
72
- # longKey
58
+ Installation key for key-protected package. (either --installation-key or --installation-key-bypass is required)
73
59
 
74
- Installation key for creating the key-protected package. Either an --installationkey value or the --installationkeybypass flag is required.
60
+ # flags.installation-key-bypass.summary
75
61
 
76
- # keyBypass
62
+ Bypass the installation key requirement. (either --installation-key or --installation-key-bypass is required)
77
63
 
78
- bypass the installation key requirement (either --installationkey or --installationkeybypass is required)
64
+ # flags.installation-key-bypass.description
79
65
 
80
- # longKeyBypass
66
+ If you bypass this requirement, anyone can install your package.
81
67
 
82
- 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.
68
+ # flags.preserve.summary
83
69
 
84
- # preserve
70
+ Preserve temp files that would otherwise be deleted.
85
71
 
86
- temp files are preserved that would otherwise be deleted
72
+ # flags.validate-schema.summary
87
73
 
88
- # longPreserve
89
-
90
- Specifies that the temp files are preserved that would otherwise be deleted
91
-
92
- # validateschema
93
-
94
- sfdx-project.json is validated against JSON schema
95
-
96
- # longValidateschema
97
-
98
- Specifies that the sfdx-project.json file should be validated against JSON schema.
74
+ Validate the sfdx-project.json file against the JSON schema.
99
75
 
100
76
  # tempFileLocation
101
77
 
102
78
  The temp files are located at: %s.
103
79
 
104
- # wait
105
-
106
- minutes to wait for the package version to be created
80
+ # flags.wait.summary
107
81
 
108
- # longWait
82
+ Number of minutes to wait for the package version to be created.
109
83
 
110
- The number of minutes to wait for the package version to be created.
84
+ # flags.build-instance.summary
111
85
 
112
- # instance
86
+ Instance where the package version will be created, such as NA50.
113
87
 
114
- the instance where the package version will be created——for example, NA50
88
+ # flags.version-name.summary
115
89
 
116
- # longInstance
90
+ Name of the package version to be created; overrides the sfdx-project.json value.
117
91
 
118
- The instance where the package version will be created——for example, NA50.
92
+ # flags.version-number.summary
119
93
 
120
- # versionname
94
+ Version number of the package version to be created; overrides the sfdx-project.json value.
121
95
 
122
- the name of the package version to be created
96
+ # flags.version-description.summary
123
97
 
124
- # longVersionname
98
+ Description of the package version to be created; overrides the sfdx-project.json value.
125
99
 
126
- The name of the package version to be created. Overrides the sfdx-project.json value.
100
+ # flags.code-coverage.summary
127
101
 
128
- # versionnumber
102
+ Calculate and store the code coverage percentage by running the packaged Apex tests included in this package version.
129
103
 
130
- the version number of the package version to be created
104
+ # flags.code-coverage.description
131
105
 
132
- # longVersionnumber
106
+ 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 --skip-validation.
133
107
 
134
- The version number of the package version to be created. Overrides the sfdx-project.json value.
108
+ # flags.releasenotes-url.summary
135
109
 
136
- # versiondescription
110
+ Release notes URL.
137
111
 
138
- the description of the package version to be created
112
+ # flags.releasenotes-url.description
139
113
 
140
- # longVersiondescription
114
+ This link is displayed in the package installation UI to provide release notes for this package version to subscribers.
141
115
 
142
- The description of the package version to be created. Overrides the sfdx-project.json value.
116
+ # flags.skip-validation.summary
143
117
 
144
- # codeCoverage
118
+ Skip validation during package version creation; you can’t promote unvalidated package versions.
145
119
 
146
- calculate the code coverage by running the packaged Apex tests
120
+ # flags.skip-validation.description
147
121
 
148
- # longCodeCoverage
149
-
150
- 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.
151
-
152
- # releaseNotesUrl
153
-
154
- release notes URL
155
-
156
- # releaseNotesUrlLong
157
-
158
- The release notes URL. This link is displayed in the package installation UI to provide release notes for this package version to subscribers.
159
-
160
- # skipValidation
161
-
162
- skip validation during package version creation; you can’t promote unvalidated package versions
122
+ 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.
163
123
 
164
- # skipValidationLong
124
+ # skip-validation-warning
165
125
 
166
- 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.
126
+ Skipping validation suppresses errors that usually surface during package version creation. Instead, these errors surface at a later stage, such as installation or post-installation. If you encounter errors that are difficult to debug, retry package version creation without the --skip-validation parameter.
167
127
 
168
- # skipValidationWarning
128
+ # flags.skip-ancestor-check.summary
169
129
 
170
- Skipping validation suppresses errors that usually surface during package version creation. Instead, these errors surface at a later stage, such as installation or post-installation. If you encounter errors that are difficult to debug, retry package version creation without the skipvalidation parameter.
130
+ Overrides ancestry requirements, which allows you to specify a package ancestor that isn’t the highest released package version.
171
131
 
172
- # skipAncestorCheck
132
+ # flags.post-install-url.summary
173
133
 
174
- Overrides ancestry requirements.
134
+ Post-install instructions URL.
175
135
 
176
- # skipAncestorCheckLong
136
+ # flags.post-install-url.description
177
137
 
178
- Override ancestry requirements, which allows you to specify a package ancestor that isn’t the highest released package version.
138
+ The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.
179
139
 
180
- # postInstallUrl
140
+ # flags.post-install-script.summary
181
141
 
182
- post-install URL
142
+ Name of the post-install script; applies to managed packages only.
183
143
 
184
- # postInstallUrlLong
144
+ # flags.post-install-script.description
185
145
 
186
- The post-install instructions URL. The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.
146
+ 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.
187
147
 
188
- # postInstallScript
148
+ # flags.uninstall-script.summary
189
149
 
190
- post-install script name; managed packages only
150
+ Uninstall script name; applies to managed packages only.
191
151
 
192
- # postInstallScriptLong
152
+ # flags.uninstall-script.description
193
153
 
194
- 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.
154
+ The uninstall script is an Apex class within this package that is run in the installing org after uninstallations of this package.
195
155
 
196
- # uninstallScript
156
+ # flags.language.summary
197
157
 
198
- uninstall script name; managed packages only
158
+ Language for the package.
199
159
 
200
- # uninstallScriptLong
160
+ # flags.language.description
201
161
 
202
- 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.
162
+ Specify the language using a language code listed under "Supported Languages" in Salesforce Help. If no language is specified, the language defaults to the language of the Dev Hub user who created the package.
203
163
 
204
164
  # InProgress
205
165
 
206
- Package version creation request status is '%s'. Run "sfdx force:package:version:create:report -i %s" to query for status.
166
+ Package version creation request status is '%s'. Run "%s package:version:create:report -i %s" to query for status.
207
167
 
208
168
  # Success
209
169
 
210
170
  Successfully created the package version [%s]. Subscriber Package Version Id: %s
211
171
  Package Installation URL: %s%s
212
- As an alternative, you can use the "sfdx force:package:install" command.
172
+ As an alternative, you can use the "%s package:install" command.
213
173
 
214
174
  # errorPathNotFound
215
175
 
@@ -231,12 +191,6 @@ Version create.
231
191
 
232
192
  Create version status: %s
233
193
 
234
- # language
235
-
236
- The language for the package.
237
-
238
- # languageLong
239
-
240
- The language for the package. Specify the language using a language code listed under "Supported Languages" in Salesforce Help.
194
+ # unknownError
241
195
 
242
- If no language is specified, the language defaults to the language of the Dev Hub user who created the package.
196
+ An unknown error occurred.
@@ -1,28 +1,40 @@
1
- # cliDescription
1
+ # summary
2
2
 
3
- list package version creation requests
3
+ List package version creation requests.
4
+
5
+ # description
4
6
 
5
7
  Shows the details of each request to create a package version in the Dev Hub org.
6
8
 
7
9
  All filter parameters are applied using the AND logical operator (not OR).
8
10
 
9
- To get information about a specific request, run "sfdx force:package:version:create:report" and supply the request ID.
11
+ To get information about a specific request, run "<%= config.bin %> package version create report" and supply the request ID.
10
12
 
11
- # statusDescription
13
+ # flags.status.summary
12
14
 
13
- filter the list by version creation request status
15
+ Status of the version creation request, used to filter the list.
14
16
 
15
- # statusLongDescription
17
+ # examples
16
18
 
17
- Filters the list based on the status of version creation requests.
19
+ - List all package version creation requests in your default Dev Hub org:
18
20
 
19
- # examples
21
+ <%= config.bin %> <%= command.id %>
22
+
23
+ - List package version creation requests from the last 3 days in the Dev Hub org with username devhub@example.com:
24
+
25
+ <%= config.bin %> <%= command.id %> --created-last-days 3 --target-hub-org
26
+
27
+ - List package version creation requests with status Error:
28
+
29
+ <%= config.bin %> <%= command.id %> --status Error
30
+
31
+ - List package version creation requests with status InProgress:
32
+
33
+ <%= config.bin %> <%= command.id %> --status InProgress
34
+
35
+ - List package version creation requests with status Success that were created today:
20
36
 
21
- $ sfdx force:package:version:create:list
22
- $ sfdx force:package:version:create:list --createdlastdays 3
23
- $ sfdx force:package:version:create:list --status Error
24
- $ sfdx force:package:version:create:list -s InProgress
25
- $ sfdx force:package:version:create:list -c 3 -s Success
37
+ <%= config.bin %> <%= command.id %> --created-last-days 0 --status Success
26
38
 
27
39
  # id
28
40
 
@@ -32,7 +44,7 @@ ID
32
44
 
33
45
  Status
34
46
 
35
- # packageId
47
+ # package-id
36
48
 
37
49
  Package Id
38
50
 
@@ -1,26 +1,29 @@
1
- # cliDescription
1
+ # summary
2
2
 
3
- retrieve details about a package version creation request
3
+ Retrieve details about a package version creation request.
4
+
5
+ # description
4
6
 
5
7
  Specify the request ID for which you want to view details. If applicable, the command displays errors related to the request.
6
8
 
7
- To show all requests in the org, run "sfdx force:package:version:create:list".
9
+ To show all requests in the org, run "<%= config.bin %> package version create list".
8
10
 
9
11
  # examples
10
12
 
11
- $ sfdx force:package:version:create:report -i 08c...
12
- $ sfdx force:package:version:create:report -i 08c... -v devhub@example.com
13
+ - Retrieve details about the package version creation request with the specified ID; uses your default Dev Hub org:
14
+
15
+ <%= config.bin %> <%= command.id %> --package-create-request-id 08c...
13
16
 
14
- # requestId
17
+ - Retrieve details about the specified package version creation request in the Dev Hub org with username devhub@example.com:
15
18
 
16
- package version creation request ID (starts with 08c)
19
+ <%= config.bin %> <%= command.id %> --package-create-request-id 08c... --target-hub-org devhub@example.com
17
20
 
18
- # requestIdLong
21
+ # flags.package-create-request-id.summary
19
22
 
20
- The ID (starts with 08c) of the package version creation request you want to display.
23
+ ID (starts with 08c) of the package version creation request you want to display.
21
24
 
22
25
  # truncatedErrors
23
26
 
24
27
  ...
25
28
 
26
- To see all errors, run: sfdx force:data:soql:query -t -q "SELECT Message FROM Package2VersionCreateRequestError WHERE ParentRequest.Id='%s'" -u %s
29
+ To see all errors, run: %s data:soql:query -t -q "SELECT Message FROM Package2VersionCreateRequestError WHERE ParentRequest.Id='%s'" -o %s
@@ -1,46 +1,46 @@
1
- # cliDescription
1
+ # summary
2
+
3
+ Delete a package version.
4
+
5
+ # description
2
6
 
3
- delete a package version
4
7
  Specify the ID or alias of the package version you want to delete.
5
8
 
6
9
  # examples
7
10
 
8
- $ sfdx force:package:version:delete -p "Your Package Alias"
9
- $ sfdx force:package:version:delete -p 04t...
10
-
11
- # package
11
+ - Delete a package version with the specified alias using your default Dev Hub org:
12
12
 
13
- ID (starts with 04t) or alias of the package to update a version of
13
+ <%= config.bin %> <%= command.id %> --package "Your Package Alias"
14
14
 
15
- # packageLong
15
+ - Delete a package version with the specified ID using the Dev Hub org with username "devhub@example.com":
16
16
 
17
- The ID (starts with 04t) or alias of the package version to delete.
17
+ <%= config.bin %> <%= command.id %> --package 04t... --target-org devhub@example.com
18
18
 
19
- # undelete
19
+ # flags.package.summary
20
20
 
21
- undelete a deleted package version
21
+ ID (starts with 04t) or alias of the package version to delete.
22
22
 
23
- # undeleteLong
23
+ # flags.undelete.summary
24
24
 
25
25
  Undelete a deleted package version.
26
26
 
27
- # noPrompt
27
+ # flags.no-prompt.summary
28
28
 
29
- don’t prompt before deleting the package version
29
+ Don’t prompt before deleting the package version.
30
30
 
31
- # promptDelete
31
+ # prompt-delete
32
32
 
33
33
  Deleted package versions can’t be recovered.
34
34
 
35
35
  Do you want to continue? (y/n)
36
36
 
37
- # promptUndelete
37
+ # prompt-undelete
38
38
 
39
39
  This will undelete the package version, which may result in unintended consequences for customers. Proceed with caution.
40
40
 
41
41
  Do you want to continue? (y/n)
42
42
 
43
- # promptDeleteDeny
43
+ # prompt-delete-deny
44
44
 
45
45
  The request to delete this package version has been canceled.
46
46
 
@@ -1,61 +1,58 @@
1
- # cliDescription
1
+ # summary
2
2
 
3
- list all package versions in the Dev Hub org.
3
+ List all package versions in the Dev Hub org.
4
4
 
5
- Displays details of each package version in the org.
5
+ # description
6
6
 
7
- Use --concise or --verbose to display limited or additional details, respectively.
7
+ The command displays details of each package version in the org. Use --concise or --verbose to display limited or additional details, respectively.
8
8
 
9
9
  All filter parameters are applied using the AND logical operator (not OR).
10
10
 
11
- # conciseDescription
11
+ # flags.concise.summary
12
+
13
+ Display limited package version details.
12
14
 
13
- display limited package version details
15
+ # flags.packages.summary
14
16
 
15
- # conciseLongDescription
17
+ Comma-delimited list of packages (aliases or 0Ho IDs) to list.
16
18
 
17
- Displays limited package version details.
19
+ # flags.released.summary
18
20
 
19
- # packagesDescription
21
+ Display released versions only (IsReleased=true).
20
22
 
21
- filter results on specified comma-delimited packages (aliases or 0Ho IDs)
23
+ # flags.order-by.summary
22
24
 
23
- # packagesLongDescription
25
+ Package version fields used to order the list.
24
26
 
25
- Filters results on the specified comma-delimited packages (aliases or 0Ho IDs).
27
+ # flags.verbose.summary
26
28
 
27
- # releasedDescription
29
+ Display extended package version details.
28
30
 
29
- display released versions only
31
+ # examples
30
32
 
31
- # releasedLongDescription
33
+ - List package versions in your default Dev Hub org that were created in the last 3 days; show only the released versions and order the list using the PatchVersion field. Display extended details about each package version:
32
34
 
33
- Displays released versions only (IsReleased=true).
35
+ <%= config.bin %> <%= command.id %> --verbose --created-last-days 3 --released --order-by PatchVersion
34
36
 
35
- # orderByDescription
37
+ - List the released package versions for the two specified packages that were modified today; use the Dev Hub org with username devhub@example.com:
36
38
 
37
- order by the specified package version fields
39
+ <%= config.bin %> <%= command.id %> --packages 0Ho000000000000,0Ho000000000001 --released --modified-last-days 0 --target-hub-org devhub@example.com
38
40
 
39
- # orderByLongDescription
41
+ - List all released package versions in your default Dev Hub org:
40
42
 
41
- Orders the list by the specified package version fields.
43
+ <%= config.bin %> <%= command.id %> --released
42
44
 
43
- # verboseDescription
45
+ - List package versions that were modified today in your default Dev Hub org; show limited details about each one:
44
46
 
45
- display extended package version details
47
+ <%= config.bin %> <%= command.id %> --concise --modified-last-days 0
46
48
 
47
- # verboseLongDescription
49
+ - List released package versions that were created in the last 3 days in your default Dev Hub org; show limited details:
48
50
 
49
- Displays extended package version details.
51
+ <%= config.bin %> <%= command.id %> --concise --created-last-days 3 --released
50
52
 
51
- # examples
53
+ - List released package versions that were modified today for the two packages with specified aliases in your default Dev Hub org:
52
54
 
53
- $ sfdx force:package:version:list --verbose --createdlastdays 3 --released --orderby PatchVersion
54
- $ sfdx force:package:version:list --packages 0Ho000000000000,0Ho000000000001 --released --modifiedlastdays 0
55
- $ sfdx force:package:version:list --released
56
- $ sfdx force:package:version:list --concise --modifiedlastdays 0
57
- $ sfdx force:package:version:list --concise -c 3 -r
58
- $ sfdx force:package:version:list --packages exp-mgr,exp-mgr-util --released --modifiedlastdays 0
55
+ <%= config.bin %> <%= command.id %> --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
59
56
 
60
57
  # name
61
58
 
@@ -85,7 +82,7 @@ Subscriber Package Version Id
85
82
 
86
83
  Converted From Version Id
87
84
 
88
- # packageId
85
+ # package-id
89
86
 
90
87
  Package Id
91
88
 
@@ -1,34 +1,40 @@
1
- # cliDescription
1
+ # summary
2
2
 
3
- promote a package version to released
3
+ Promote a package version to released.
4
+
5
+ # description
4
6
 
5
7
  Supply the ID or alias of the package version you want to promote. Promotes the package version to released status.
6
8
 
7
9
  # examples
8
10
 
9
- $ sfdx force:package:version:promote -p 04t...
10
- $ sfdx force:package:version:promote -p awesome_package_alias
11
- $ sfdx force:package:version:promote -p "Awesome Package Alias"
11
+ - Promote the package version with the specified ID to released; uses your default Dev Hub org:
12
+
13
+ <%= config.bin %> <%= command.id %> --package 04t...
14
+
15
+ - Promote the package version with the specified alias to released; uses the Dev Hub org with username devhub@example.com:
16
+
17
+ <%= config.bin %> <%= command.id %> --package awesome_package_alias --target-hub-org devhub@example.com
12
18
 
13
- # package
19
+ - Promote the package version with an alias that has spaces to released:
14
20
 
15
- ID (starts with 04t) or alias of the package version to promote
21
+ <%= config.bin %> <%= command.id %> --package "Awesome Package Alias"
16
22
 
17
- # packageLong
23
+ # flags.package.summary
18
24
 
19
- The ID (starts with 04t) or alias of the package version to promote.
25
+ ID (starts with 04t) or alias of the package version to promote.
20
26
 
21
27
  # packageVersionPromoteConfirm
22
28
 
23
29
  Are you sure you want to release package version %s? You can't undo this action. Release package (y/n)?
24
30
 
25
- # setasreleasedForce
31
+ # promote-deny
26
32
 
27
- no prompt to confirm setting the package version as released
33
+ Promote operation denied
28
34
 
29
- # setasreleasedForceLong
35
+ # flags.no-prompt.summary
30
36
 
31
- Do not prompt to confirm setting the package version as released.
37
+ Don't prompt to confirm setting the package version as released.
32
38
 
33
39
  # humanSuccess
34
40
 
@@ -40,9 +46,9 @@ You already promoted a package version with this major.minor.patch version numbe
40
46
 
41
47
  # previouslyReleasedAction
42
48
 
43
- Create a new package version with a different --versionumber, then promote the package version.
44
- sfdx force:package:version:create -p <name> -n <versionnum> -k <key>
45
- sfdx force:package:version:promote -p 05ixxx
49
+ Create a new package version with a different --version-umber, then promote the package version.
50
+ %s package:version:create -p <name> -n <versionnum> -k <key>
51
+ %s package:version:promote -p 05ixxx
46
52
 
47
53
  # hasMetadataRemovedWarning
48
54