@salesforce/plugin-packaging 1.2.0 → 1.4.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 +8 -1
- package/README.md +232 -38
- package/lib/commands/force/package/beta/convert.d.ts +1 -5
- package/lib/commands/force/package/beta/convert.js +2 -3
- package/lib/commands/force/package/beta/convert.js.map +1 -1
- package/lib/commands/force/package/beta/create.d.ts +1 -4
- package/lib/commands/force/package/beta/create.js +2 -3
- package/lib/commands/force/package/beta/create.js.map +1 -1
- package/lib/commands/force/package/beta/delete.d.ts +1 -4
- package/lib/commands/force/package/beta/delete.js +2 -3
- package/lib/commands/force/package/beta/delete.js.map +1 -1
- package/lib/commands/force/package/beta/install/report.d.ts +1 -3
- package/lib/commands/force/package/beta/install/report.js +2 -2
- package/lib/commands/force/package/beta/install/report.js.map +1 -1
- package/lib/commands/force/package/beta/install.d.ts +1 -3
- package/lib/commands/force/package/beta/install.js +3 -3
- package/lib/commands/force/package/beta/install.js.map +1 -1
- package/lib/commands/force/package/beta/installed/list.d.ts +1 -1
- package/lib/commands/force/package/beta/installed/list.js +1 -1
- package/lib/commands/force/package/beta/installed/list.js.map +1 -1
- package/lib/commands/force/package/beta/list.d.ts +1 -4
- package/lib/commands/force/package/beta/list.js +2 -3
- package/lib/commands/force/package/beta/list.js.map +1 -1
- package/lib/commands/force/package/beta/uninstall/report.d.ts +1 -3
- package/lib/commands/force/package/beta/uninstall/report.js +2 -2
- package/lib/commands/force/package/beta/uninstall/report.js.map +1 -1
- package/lib/commands/force/package/beta/uninstall.d.ts +2 -2
- package/lib/commands/force/package/beta/uninstall.js +31 -6
- package/lib/commands/force/package/beta/uninstall.js.map +1 -1
- package/lib/commands/force/package/beta/update.d.ts +1 -4
- package/lib/commands/force/package/beta/update.js +2 -3
- package/lib/commands/force/package/beta/update.js.map +1 -1
- package/lib/commands/force/package/beta/version/create/list.d.ts +1 -5
- package/lib/commands/force/package/beta/version/create/list.js +2 -3
- package/lib/commands/force/package/beta/version/create/list.js.map +1 -1
- package/lib/commands/force/package/beta/version/create/report.d.ts +1 -3
- package/lib/commands/force/package/beta/version/create/report.js +3 -3
- package/lib/commands/force/package/beta/version/create/report.js.map +1 -1
- package/lib/commands/force/package/beta/version/create.d.ts +1 -4
- package/lib/commands/force/package/beta/version/create.js +127 -70
- package/lib/commands/force/package/beta/version/create.js.map +1 -1
- package/lib/commands/force/package/beta/version/delete.d.ts +1 -4
- package/lib/commands/force/package/beta/version/delete.js +2 -3
- package/lib/commands/force/package/beta/version/delete.js.map +1 -1
- package/lib/commands/force/package/beta/version/displayancestry.d.ts +1 -4
- package/lib/commands/force/package/beta/version/displayancestry.js +2 -3
- package/lib/commands/force/package/beta/version/displayancestry.js.map +1 -1
- package/lib/commands/force/package/beta/version/list.d.ts +1 -5
- package/lib/commands/force/package/beta/version/list.js +2 -3
- package/lib/commands/force/package/beta/version/list.js.map +1 -1
- package/lib/commands/force/package/beta/version/promote.d.ts +3 -5
- package/lib/commands/force/package/beta/version/promote.js +34 -5
- package/lib/commands/force/package/beta/version/promote.js.map +1 -1
- package/lib/commands/force/package/beta/version/report.d.ts +1 -4
- package/lib/commands/force/package/beta/version/report.js +2 -3
- package/lib/commands/force/package/beta/version/report.js.map +1 -1
- package/lib/commands/force/package/beta/version/update.d.ts +1 -4
- package/lib/commands/force/package/beta/version/update.js +2 -3
- package/lib/commands/force/package/beta/version/update.js.map +1 -1
- package/lib/commands/force/package1/beta/version/create/get.js +1 -4
- package/lib/commands/force/package1/beta/version/create/get.js.map +1 -1
- package/lib/commands/force/package1/beta/version/create.d.ts +0 -2
- package/lib/commands/force/package1/beta/version/create.js +0 -2
- package/lib/commands/force/package1/beta/version/create.js.map +1 -1
- package/lib/commands/force/package1/beta/version/display.d.ts +0 -1
- package/lib/commands/force/package1/beta/version/display.js +0 -1
- package/lib/commands/force/package1/beta/version/display.js.map +1 -1
- package/lib/commands/force/package1/beta/version/list.d.ts +0 -2
- package/lib/commands/force/package1/beta/version/list.js +0 -2
- package/lib/commands/force/package1/beta/version/list.js.map +1 -1
- package/messages/package1_version_create.md +0 -7
- package/messages/package1_version_create_get.md +5 -1
- package/messages/package2_create.md +2 -1
- package/messages/package2_update.md +2 -1
- package/messages/package2_version_create.md +2 -1
- package/messages/package2_version_create_get.md +2 -1
- package/messages/package2_version_create_list.md +2 -1
- package/messages/package2_version_get.md +1 -2
- package/messages/package2_version_list.md +2 -1
- package/messages/package2_version_update.md +2 -1
- package/messages/package_convert.md +2 -7
- package/messages/package_create.md +2 -7
- package/messages/package_delete.md +2 -5
- package/messages/package_displayancestry.md +1 -6
- package/messages/package_install.md +2 -7
- package/messages/package_install_get.md +1 -2
- package/messages/package_install_report.md +1 -6
- package/messages/package_install_request.md +1 -2
- package/messages/package_installed_list.md +0 -4
- package/messages/package_list.md +2 -7
- package/messages/package_uninstall.md +2 -11
- package/messages/package_uninstall_get.md +1 -2
- package/messages/package_uninstall_report.md +1 -6
- package/messages/package_update.md +2 -7
- package/messages/package_version_create.md +6 -1
- package/messages/package_version_create_list.md +5 -10
- package/messages/package_version_create_report.md +2 -7
- package/messages/package_version_delete.md +2 -8
- package/messages/package_version_list.md +6 -11
- package/messages/package_version_promote.md +3 -8
- package/messages/package_version_report.md +1 -6
- package/messages/package_version_update.md +2 -7
- package/oclif.manifest.json +1 -1
- package/package.json +6 -7
- package/messages/default.md +0 -1127
- 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.
|
|
5
|
+
## 1.4.0 (2022-08-23)
|
|
6
6
|
|
|
7
7
|
### Features
|
|
8
8
|
|
|
@@ -14,22 +14,29 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
14
14
|
### Bug Fixes
|
|
15
15
|
|
|
16
16
|
- add force:package:beta:install:report command ([1044e0e](https://github.com/salesforcecli/plugin-packaging/commit/1044e0ed08763deae904e491a2b8681dadac4ec4))
|
|
17
|
+
- add package:beta:version:promote and NUT ([8db94c2](https://github.com/salesforcecli/plugin-packaging/commit/8db94c2b74e39c275774578a1c488288ca134321))
|
|
17
18
|
- add package:uninstall command ([86db455](https://github.com/salesforcecli/plugin-packaging/commit/86db45584449cb6ab59c7f45734413f92647362e))
|
|
18
19
|
- add package1:beta:version:create:get command, UTs, placeholder NUT ([9d3f4f5](https://github.com/salesforcecli/plugin-packaging/commit/9d3f4f5786f4c2bf42b81bc29b5b5da42a989e36))
|
|
19
20
|
- add package1:version:list command, UTs, NUTs ([ecfbcd4](https://github.com/salesforcecli/plugin-packaging/commit/ecfbcd4aa1152bacbf99728f55599ab1be8a21f4))
|
|
20
21
|
- add pvr and pvcr ([79d27cf](https://github.com/salesforcecli/plugin-packaging/commit/79d27cf4883590f11459328c451787df20433cd9))
|
|
21
22
|
- adds unit tests and NUTs ([24dbd52](https://github.com/salesforcecli/plugin-packaging/commit/24dbd524aadd923f253dd3d83d46aef50cb638b6))
|
|
23
|
+
- bump packaging library ([759b31e](https://github.com/salesforcecli/plugin-packaging/commit/759b31e5e5fa7de1f13c08f29ae055d15fb36571))
|
|
22
24
|
- bump version number to 1.1.1 ([d472ff1](https://github.com/salesforcecli/plugin-packaging/commit/d472ff16f8733d287896e290515524461560babb))
|
|
23
25
|
- bump version of package lib ([5a93522](https://github.com/salesforcecli/plugin-packaging/commit/5a9352229831f14cda22568101675e22e1618543))
|
|
24
26
|
- lint fixes ([ac8cceb](https://github.com/salesforcecli/plugin-packaging/commit/ac8cceb91b76b90671acc6029c3329390b34b9aa))
|
|
25
27
|
- package list ([9d88ff5](https://github.com/salesforcecli/plugin-packaging/commit/9d88ff531898453158410b566ae5f2175b07ae99))
|
|
26
28
|
- package:installed:list command ([3169872](https://github.com/salesforcecli/plugin-packaging/commit/3169872cc959a18389f8c177ae8d3b9c09dd105c))
|
|
29
|
+
- pass installation key when getting external sites ([982a2f2](https://github.com/salesforcecli/plugin-packaging/commit/982a2f20f793c19ffb33f37f4c38ba76cc9a80c8))
|
|
27
30
|
- pkg create and delete commands ([f872b2b](https://github.com/salesforcecli/plugin-packaging/commit/f872b2bbbbc28c4324e7ac026a26ee914fcf0eac))
|
|
28
31
|
- pkg create and delete commands ([c71ca30](https://github.com/salesforcecli/plugin-packaging/commit/c71ca3073840afcc1ac931c2fcde595d91265730))
|
|
32
|
+
- remove longDescription and help for description ([8ea4663](https://github.com/salesforcecli/plugin-packaging/commit/8ea46639d74c58ecd7c927f82374138b729e464e))
|
|
29
33
|
- return results even if not json ([b08c91b](https://github.com/salesforcecli/plugin-packaging/commit/b08c91bfbe552a419740de97a8b1af57d1bb38aa))
|
|
34
|
+
- several fixes for pkg commands ([22c81af](https://github.com/salesforcecli/plugin-packaging/commit/22c81afddd7d2339027d65fc1c21b68e1bbca3c5))
|
|
35
|
+
- several fixes for pkg commands ([bc1614d](https://github.com/salesforcecli/plugin-packaging/commit/bc1614df3da386d8a3b4f156f96ace6fdd7a72b5))
|
|
30
36
|
- some install command work ([1adbf01](https://github.com/salesforcecli/plugin-packaging/commit/1adbf01fac8258b50af1628d8fc4c9b3d04fbe58))
|
|
31
37
|
- some install command work ([1adfd60](https://github.com/salesforcecli/plugin-packaging/commit/1adfd6022d3fad0bd0cc76d75a4c0e8856b5ce83))
|
|
32
38
|
- suppot 15-char IDs ([0674125](https://github.com/salesforcecli/plugin-packaging/commit/0674125d6370f6dd261f82c56bbb9cc1bcae4377))
|
|
39
|
+
- type on event consumer for pvc ([e4200cc](https://github.com/salesforcecli/plugin-packaging/commit/e4200ccffefe090fa3b2d287d0487f830214d2c1))
|
|
33
40
|
- update README and fix test output ([ad00150](https://github.com/salesforcecli/plugin-packaging/commit/ad0015011696d051bfaec682f67997e763f1fd85))
|
|
34
41
|
- use correct message based on flags ([84a3d96](https://github.com/salesforcecli/plugin-packaging/commit/84a3d96d129072c857e496a75d3ab11824ba82e2))
|
|
35
42
|
- use os specific line endings ([fd431e8](https://github.com/salesforcecli/plugin-packaging/commit/fd431e8c73179fd40f31c75e434210e0bd8074b9))
|
package/README.md
CHANGED
|
@@ -78,10 +78,10 @@ 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
|
|
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
|
-
- [`sfdx force:package:beta:version:create [-
|
|
84
|
+
- [`sfdx force:package:beta:version:create [-b <string>] [-c | --skipvalidation] [-f <filepath>] [-k <string>] [-x] [-p <string>] [-d <directory>] [--postinstallscript <string>] [--postinstallurl <url>] [--releasenotesurl <url>] [--skipancestorcheck] [-t <string>] [--uninstallscript <string>] [-e <string>] [-a <string>] [-n <string>] [-w <minutes>] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetaversioncreate--b-string--c----skipvalidation--f-filepath--k-string--x--p-string--d-directory---postinstallscript-string---postinstallurl-url---releasenotesurl-url---skipancestorcheck--t-string---uninstallscript-string--e-string--a-string--n-string--w-minutes--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
85
85
|
- [`sfdx force:package:beta:version:create:list [-c <number>] [-s Queued|InProgress|Success|Error] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetaversioncreatelist--c-number--s-queuedinprogresssuccesserror--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
86
86
|
- [`sfdx force:package:beta:version:create:report -i <id> [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetaversioncreatereport--i-id--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
87
87
|
- [`sfdx force:package:beta:version:delete -p <string> [-n] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcepackagebetaversiondelete--p-string--n--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
430
|
-
package version to
|
|
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.
|
|
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.
|
|
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,21 +577,31 @@ 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.
|
|
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
|
-
## `sfdx force:package:beta:version:create [-
|
|
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
|
|
|
506
597
|
create a package version
|
|
507
598
|
|
|
508
599
|
```
|
|
509
600
|
USAGE
|
|
510
|
-
$ sfdx force:package:beta:version:create [-
|
|
511
|
-
|
|
512
|
-
<
|
|
513
|
-
|
|
514
|
-
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
601
|
+
$ sfdx force:package:beta:version:create [-b <string>] [-c | --skipvalidation] [-f <filepath>] [-k <string>] [-x] [-p <string>] [-d
|
|
602
|
+
<directory>] [--postinstallscript <string>] [--postinstallurl <url>] [--releasenotesurl <url>] [--skipancestorcheck]
|
|
603
|
+
[-t <string>] [--uninstallscript <string>] [-e <string>] [-a <string>] [-n <string>] [-w <minutes>] [-v <string>]
|
|
604
|
+
[--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
515
605
|
|
|
516
606
|
FLAGS
|
|
517
607
|
-a, --versionname=<value> the name of the package version to
|
|
@@ -563,9 +653,18 @@ FLAGS
|
|
|
563
653
|
|
|
564
654
|
DESCRIPTION
|
|
565
655
|
create a package version
|
|
656
|
+
|
|
657
|
+
EXAMPLES
|
|
658
|
+
$ sfdx force:package:version:create -d common -k password123
|
|
659
|
+
|
|
660
|
+
$ sfdx force:package:version:create -p "Your Package Alias" -k password123
|
|
661
|
+
|
|
662
|
+
$ sfdx force:package:version:create -p 0Ho... -k password123
|
|
663
|
+
|
|
664
|
+
$ sfdx force:package:version:create -d common -k password123 --skipvalidation
|
|
566
665
|
```
|
|
567
666
|
|
|
568
|
-
_See code: [src/commands/force/package/beta/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.
|
|
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)_
|
|
569
668
|
|
|
570
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]`
|
|
571
670
|
|
|
@@ -592,9 +691,26 @@ FLAGS
|
|
|
592
691
|
|
|
593
692
|
DESCRIPTION
|
|
594
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
|
|
595
711
|
```
|
|
596
712
|
|
|
597
|
-
_See code: [src/commands/force/package/beta/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.
|
|
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)_
|
|
598
714
|
|
|
599
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]`
|
|
600
716
|
|
|
@@ -618,9 +734,21 @@ FLAGS
|
|
|
618
734
|
|
|
619
735
|
DESCRIPTION
|
|
620
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".
|
|
621
749
|
```
|
|
622
750
|
|
|
623
|
-
_See code: [src/commands/force/package/beta/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.
|
|
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)_
|
|
624
752
|
|
|
625
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]`
|
|
626
754
|
|
|
@@ -647,9 +775,16 @@ FLAGS
|
|
|
647
775
|
|
|
648
776
|
DESCRIPTION
|
|
649
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...
|
|
650
785
|
```
|
|
651
786
|
|
|
652
|
-
_See code: [src/commands/force/package/beta/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.
|
|
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)_
|
|
653
788
|
|
|
654
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]`
|
|
655
790
|
|
|
@@ -681,13 +816,22 @@ FLAGS
|
|
|
681
816
|
|
|
682
817
|
DESCRIPTION
|
|
683
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...
|
|
684
828
|
```
|
|
685
829
|
|
|
686
|
-
_See code: [src/commands/force/package/beta/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.
|
|
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)_
|
|
687
831
|
|
|
688
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]`
|
|
689
833
|
|
|
690
|
-
list all package versions in the Dev Hub org
|
|
834
|
+
list all package versions in the Dev Hub org.
|
|
691
835
|
|
|
692
836
|
```
|
|
693
837
|
USAGE
|
|
@@ -722,10 +866,29 @@ FLAGS
|
|
|
722
866
|
details
|
|
723
867
|
|
|
724
868
|
DESCRIPTION
|
|
725
|
-
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
|
|
726
889
|
```
|
|
727
890
|
|
|
728
|
-
_See code: [src/commands/force/package/beta/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.
|
|
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)_
|
|
729
892
|
|
|
730
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]`
|
|
731
894
|
|
|
@@ -752,9 +915,18 @@ FLAGS
|
|
|
752
915
|
|
|
753
916
|
DESCRIPTION
|
|
754
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"
|
|
755
927
|
```
|
|
756
928
|
|
|
757
|
-
_See code: [src/commands/force/package/beta/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.
|
|
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)_
|
|
758
930
|
|
|
759
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]`
|
|
760
932
|
|
|
@@ -781,9 +953,18 @@ FLAGS
|
|
|
781
953
|
|
|
782
954
|
DESCRIPTION
|
|
783
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".
|
|
784
965
|
```
|
|
785
966
|
|
|
786
|
-
_See code: [src/commands/force/package/beta/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.
|
|
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)_
|
|
787
968
|
|
|
788
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]`
|
|
789
970
|
|
|
@@ -816,8 +997,21 @@ FLAGS
|
|
|
816
997
|
|
|
817
998
|
DESCRIPTION
|
|
818
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".
|
|
819
1013
|
```
|
|
820
1014
|
|
|
821
|
-
_See code: [src/commands/force/package/beta/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/v1.
|
|
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)_
|
|
822
1016
|
|
|
823
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
|
|
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.
|
|
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,
|
|
1
|
+
{"version":3,"file":"convert.js","sourceRoot":"","sources":["../../../../../src/commands/force/package/beta/convert.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yBAAyB;AACzB,iDAAsE;AACtE,yCAA2C;AAC3C,2CAA4C;AAE5C,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,iBAAiB,CAAC,CAAC;AAE1F,MAAa,cAAe,SAAQ,qBAAW;IAuCtC,KAAK,CAAC,GAAG;QACd,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;QACrB,OAAO,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAChD,CAAC;;AA1CH,wCA2CC;AA1CwB,0BAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACpD,uBAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AACzD,qCAAsB,GAAG,IAAI,CAAC;AAC9B,qBAAM,GAAG,IAAI,CAAC;AACd,0BAAW,GAAgB;IAChD,OAAO,EAAE,eAAK,CAAC,EAAE,CAAC;QAChB,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;QACd,QAAQ,EAAE,MAAM;KACjB,CAAC;IACF,eAAe,EAAE,eAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC;QACvC,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;QAC/C,UAAU,EAAE,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;KACzD,CAAC;IACF,qBAAqB,EAAE,eAAK,CAAC,OAAO,CAAC;QACnC,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC;QAC7C,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,eAAe,CAAC;QACrD,UAAU,EAAE,CAAC,iBAAiB,EAAE,uBAAuB,CAAC;KACzD,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,OAAO,CAAC;QAClB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC;QACxC,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC;QAChD,OAAO,EAAE,cAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;KAC7B,CAAC;IACF,aAAa,EAAE,eAAK,CAAC,MAAM,CAAC;QAC1B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC;QAC5C,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC;QACpD,MAAM,EAAE,IAAI;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
|
|
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.
|
|
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,
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../src/commands/force/package/beta/create.ts"],"names":[],"mappings":"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"}
|