@salesforce/plugin-packaging 2.4.4 → 2.4.5
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/README.md +194 -194
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -30,10 +30,6 @@ See [DEVELOPING.md](DEVELOPING.md)
|
|
|
30
30
|
|
|
31
31
|
<!-- commands -->
|
|
32
32
|
|
|
33
|
-
- [`sf package1 version create`](#sf-package1-version-create)
|
|
34
|
-
- [`sf package1 version create get`](#sf-package1-version-create-get)
|
|
35
|
-
- [`sf package1 version display`](#sf-package1-version-display)
|
|
36
|
-
- [`sf package1 version list`](#sf-package1-version-list)
|
|
37
33
|
- [`sf package create`](#sf-package-create)
|
|
38
34
|
- [`sf package delete`](#sf-package-delete)
|
|
39
35
|
- [`sf package install`](#sf-package-install)
|
|
@@ -52,178 +48,10 @@ See [DEVELOPING.md](DEVELOPING.md)
|
|
|
52
48
|
- [`sf package version promote`](#sf-package-version-promote)
|
|
53
49
|
- [`sf package version report`](#sf-package-version-report)
|
|
54
50
|
- [`sf package version update`](#sf-package-version-update)
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
```
|
|
61
|
-
USAGE
|
|
62
|
-
$ sf package1 version create -o <value> -i <value> -n <value> [--json] [--flags-dir <value>] [--api-version <value>] [-d
|
|
63
|
-
<value>] [-v <value>] [-m] [-r <value>] [-p <value>] [-k <value>] [-w <value>]
|
|
64
|
-
|
|
65
|
-
FLAGS
|
|
66
|
-
-d, --description=<value> Package version description.
|
|
67
|
-
-i, --package-id=<value> (required) ID of the metadata package (starts with 033) of which you’re creating a
|
|
68
|
-
new version.
|
|
69
|
-
-k, --installation-key=<value> Installation key for key-protected package (default: null).
|
|
70
|
-
-m, --managed-released Create a managed package version.
|
|
71
|
-
-n, --name=<value> (required) Package version name.
|
|
72
|
-
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
73
|
-
configuration variable is already set.
|
|
74
|
-
-p, --post-install-url=<value> Post install URL.
|
|
75
|
-
-r, --release-notes-url=<value> Release notes URL.
|
|
76
|
-
-v, --version=<value> Package version in major.minor format, for example, 3.2.
|
|
77
|
-
-w, --wait=<value> Minutes to wait for the package version to be created (default: 2 minutes).
|
|
78
|
-
--api-version=<value> Override the api version used for api requests made by this command
|
|
79
|
-
|
|
80
|
-
GLOBAL FLAGS
|
|
81
|
-
--flags-dir=<value> Import flag values from a directory.
|
|
82
|
-
--json Format output as json.
|
|
83
|
-
|
|
84
|
-
DESCRIPTION
|
|
85
|
-
Create a first-generation package version in the release org.
|
|
86
|
-
|
|
87
|
-
The package version is based on the contents of the specified metadata package. Omit --managed-released if you want to
|
|
88
|
-
create an unmanaged package version.
|
|
89
|
-
|
|
90
|
-
ALIASES
|
|
91
|
-
$ sf force package1 version create
|
|
92
|
-
|
|
93
|
-
EXAMPLES
|
|
94
|
-
Create a first-generation package version from the package with the specified ID and name the package version
|
|
95
|
-
"example"; use your default org:
|
|
96
|
-
|
|
97
|
-
$ sf package1 version create --package-id 033... --name example
|
|
98
|
-
|
|
99
|
-
Same as previous example, but provide a description and wait for 30 minutes for the package version to be created;
|
|
100
|
-
use the specified org:
|
|
101
|
-
|
|
102
|
-
$ sf package1 version create --package-id 033... --name example --description "example description" --wait 30 \
|
|
103
|
-
--target-org myorg@example.com
|
|
104
|
-
|
|
105
|
-
FLAG DESCRIPTIONS
|
|
106
|
-
-m, --managed-released Create a managed package version.
|
|
107
|
-
|
|
108
|
-
To create a beta version, don’t include this parameter.
|
|
109
|
-
|
|
110
|
-
-p, --post-install-url=<value> Post install URL.
|
|
111
|
-
|
|
112
|
-
The contents of the post-installation instructions URL are displayed in the UI after installation of the package
|
|
113
|
-
version.
|
|
114
|
-
|
|
115
|
-
-r, --release-notes-url=<value> Release notes URL.
|
|
116
|
-
|
|
117
|
-
This link is displayed in the package installation UI to provide release notes for this package version to
|
|
118
|
-
subscribers.
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.4/src/commands/package1/version/create.ts)_
|
|
122
|
-
|
|
123
|
-
## `sf package1 version create get`
|
|
124
|
-
|
|
125
|
-
Retrieve the status of a package version creation request.
|
|
126
|
-
|
|
127
|
-
```
|
|
128
|
-
USAGE
|
|
129
|
-
$ sf package1 version create get -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
130
|
-
|
|
131
|
-
FLAGS
|
|
132
|
-
-i, --request-id=<value> (required) ID of the PackageUploadRequest (starts with 0HD).
|
|
133
|
-
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
134
|
-
configuration variable is already set.
|
|
135
|
-
--api-version=<value> Override the api version used for api requests made by this command
|
|
136
|
-
|
|
137
|
-
GLOBAL FLAGS
|
|
138
|
-
--flags-dir=<value> Import flag values from a directory.
|
|
139
|
-
--json Format output as json.
|
|
140
|
-
|
|
141
|
-
ALIASES
|
|
142
|
-
$ sf force package1 version create get
|
|
143
|
-
|
|
144
|
-
EXAMPLES
|
|
145
|
-
Get the status of the creation request for the package version with the specified ID in your default org:
|
|
146
|
-
|
|
147
|
-
$ sf package1 version create get --request-id 0HD...
|
|
148
|
-
|
|
149
|
-
Same as previous example, but use the specified org:
|
|
150
|
-
|
|
151
|
-
$ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.4/src/commands/package1/version/create/get.ts)_
|
|
155
|
-
|
|
156
|
-
## `sf package1 version display`
|
|
157
|
-
|
|
158
|
-
Display details about a first-generation package version.
|
|
159
|
-
|
|
160
|
-
```
|
|
161
|
-
USAGE
|
|
162
|
-
$ sf package1 version display -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
163
|
-
|
|
164
|
-
FLAGS
|
|
165
|
-
-i, --package-version-id=<value> (required) ID (starts with 04t) of the metadata package version whose details you
|
|
166
|
-
want to display.
|
|
167
|
-
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
168
|
-
configuration variable is already set.
|
|
169
|
-
--api-version=<value> Override the api version used for api requests made by this command
|
|
170
|
-
|
|
171
|
-
GLOBAL FLAGS
|
|
172
|
-
--flags-dir=<value> Import flag values from a directory.
|
|
173
|
-
--json Format output as json.
|
|
174
|
-
|
|
175
|
-
ALIASES
|
|
176
|
-
$ sf force package1 version display
|
|
177
|
-
|
|
178
|
-
EXAMPLES
|
|
179
|
-
Display details about the first-generation package version with the specified ID in your default org:
|
|
180
|
-
|
|
181
|
-
$ sf package1 version display --package-version-id 04t...
|
|
182
|
-
|
|
183
|
-
Same as previous example, but use the specified org:
|
|
184
|
-
|
|
185
|
-
$ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.4/src/commands/package1/version/display.ts)_
|
|
189
|
-
|
|
190
|
-
## `sf package1 version list`
|
|
191
|
-
|
|
192
|
-
List package versions for the specified first-generation package or for the org.
|
|
193
|
-
|
|
194
|
-
```
|
|
195
|
-
USAGE
|
|
196
|
-
$ sf package1 version list -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-i <value>]
|
|
197
|
-
|
|
198
|
-
FLAGS
|
|
199
|
-
-i, --package-id=<value> Metadata package ID (starts with 033) whose package versions you want to list.
|
|
200
|
-
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
201
|
-
configuration variable is already set.
|
|
202
|
-
--api-version=<value> Override the api version used for api requests made by this command
|
|
203
|
-
|
|
204
|
-
GLOBAL FLAGS
|
|
205
|
-
--flags-dir=<value> Import flag values from a directory.
|
|
206
|
-
--json Format output as json.
|
|
207
|
-
|
|
208
|
-
ALIASES
|
|
209
|
-
$ sf force package1 version list
|
|
210
|
-
|
|
211
|
-
EXAMPLES
|
|
212
|
-
List all first-generation package versions in your default org:
|
|
213
|
-
|
|
214
|
-
$ sf package1 version list
|
|
215
|
-
|
|
216
|
-
List package versions for the specified first-generation package in the specifief org:
|
|
217
|
-
|
|
218
|
-
$ sf package1 version list --package-id 033... --target-org myorg@example.com
|
|
219
|
-
|
|
220
|
-
FLAG DESCRIPTIONS
|
|
221
|
-
-i, --package-id=<value> Metadata package ID (starts with 033) whose package versions you want to list.
|
|
222
|
-
|
|
223
|
-
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.4/src/commands/package1/version/list.ts)_
|
|
51
|
+
- [`sf package1 version create`](#sf-package1-version-create)
|
|
52
|
+
- [`sf package1 version create get`](#sf-package1-version-create-get)
|
|
53
|
+
- [`sf package1 version display`](#sf-package1-version-display)
|
|
54
|
+
- [`sf package1 version list`](#sf-package1-version-list)
|
|
227
55
|
|
|
228
56
|
## `sf package create`
|
|
229
57
|
|
|
@@ -302,7 +130,7 @@ FLAG DESCRIPTIONS
|
|
|
302
130
|
Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
|
|
303
131
|
```
|
|
304
132
|
|
|
305
|
-
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
133
|
+
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/create.ts)_
|
|
306
134
|
|
|
307
135
|
## `sf package delete`
|
|
308
136
|
|
|
@@ -344,7 +172,7 @@ EXAMPLES
|
|
|
344
172
|
$ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
|
|
345
173
|
```
|
|
346
174
|
|
|
347
|
-
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
175
|
+
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/delete.ts)_
|
|
348
176
|
|
|
349
177
|
## `sf package install`
|
|
350
178
|
|
|
@@ -442,7 +270,7 @@ FLAG DESCRIPTIONS
|
|
|
442
270
|
specify DeprecateOnly or Delete only for unlocked package upgrades.
|
|
443
271
|
```
|
|
444
272
|
|
|
445
|
-
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
273
|
+
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/install.ts)_
|
|
446
274
|
|
|
447
275
|
## `sf package install report`
|
|
448
276
|
|
|
@@ -475,7 +303,7 @@ EXAMPLES
|
|
|
475
303
|
$ sf package install report --request-id 0Hf... --target-org me@example.com
|
|
476
304
|
```
|
|
477
305
|
|
|
478
|
-
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
306
|
+
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/install/report.ts)_
|
|
479
307
|
|
|
480
308
|
## `sf package installed list`
|
|
481
309
|
|
|
@@ -507,7 +335,7 @@ EXAMPLES
|
|
|
507
335
|
$ sf package installed list --target-org me@example.com
|
|
508
336
|
```
|
|
509
337
|
|
|
510
|
-
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
338
|
+
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/installed/list.ts)_
|
|
511
339
|
|
|
512
340
|
## `sf package list`
|
|
513
341
|
|
|
@@ -545,7 +373,7 @@ EXAMPLES
|
|
|
545
373
|
$ sf package list --target-dev-hub devhub@example.com --verbose
|
|
546
374
|
```
|
|
547
375
|
|
|
548
|
-
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
376
|
+
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/list.ts)_
|
|
549
377
|
|
|
550
378
|
## `sf package uninstall`
|
|
551
379
|
|
|
@@ -593,7 +421,7 @@ EXAMPLES
|
|
|
593
421
|
$ sf package uninstall --package "Undesirable Package Alias"
|
|
594
422
|
```
|
|
595
423
|
|
|
596
|
-
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
424
|
+
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/uninstall.ts)_
|
|
597
425
|
|
|
598
426
|
## `sf package uninstall report`
|
|
599
427
|
|
|
@@ -626,7 +454,7 @@ EXAMPLES
|
|
|
626
454
|
$ sf package uninstall report --request-id 06y... --target-org me@example.com
|
|
627
455
|
```
|
|
628
456
|
|
|
629
|
-
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
457
|
+
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/uninstall/report.ts)_
|
|
630
458
|
|
|
631
459
|
## `sf package update`
|
|
632
460
|
|
|
@@ -681,7 +509,7 @@ FLAG DESCRIPTIONS
|
|
|
681
509
|
associated with your package.
|
|
682
510
|
```
|
|
683
511
|
|
|
684
|
-
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
512
|
+
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/update.ts)_
|
|
685
513
|
|
|
686
514
|
## `sf package version create`
|
|
687
515
|
|
|
@@ -836,7 +664,7 @@ FLAG DESCRIPTIONS
|
|
|
836
664
|
periods of no output from commands.
|
|
837
665
|
```
|
|
838
666
|
|
|
839
|
-
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
667
|
+
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/version/create.ts)_
|
|
840
668
|
|
|
841
669
|
## `sf package version create list`
|
|
842
670
|
|
|
@@ -897,7 +725,7 @@ EXAMPLES
|
|
|
897
725
|
$ sf package version create list --created-last-days 0 --status Success
|
|
898
726
|
```
|
|
899
727
|
|
|
900
|
-
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
728
|
+
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/version/create/list.ts)_
|
|
901
729
|
|
|
902
730
|
## `sf package version create report`
|
|
903
731
|
|
|
@@ -940,7 +768,7 @@ EXAMPLES
|
|
|
940
768
|
$ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
|
|
941
769
|
```
|
|
942
770
|
|
|
943
|
-
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
771
|
+
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/version/create/report.ts)_
|
|
944
772
|
|
|
945
773
|
## `sf package version delete`
|
|
946
774
|
|
|
@@ -979,7 +807,7 @@ EXAMPLES
|
|
|
979
807
|
$ sf package version delete --package 04t... --target-org devhub@example.com
|
|
980
808
|
```
|
|
981
809
|
|
|
982
|
-
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
810
|
+
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/version/delete.ts)_
|
|
983
811
|
|
|
984
812
|
## `sf package version displayancestry`
|
|
985
813
|
|
|
@@ -1039,7 +867,7 @@ FLAG DESCRIPTIONS
|
|
|
1039
867
|
You can use the DOT code output in graph visualization software to create tree visualizations.
|
|
1040
868
|
```
|
|
1041
869
|
|
|
1042
|
-
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
870
|
+
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/version/displayancestry.ts)_
|
|
1043
871
|
|
|
1044
872
|
## `sf package version list`
|
|
1045
873
|
|
|
@@ -1108,7 +936,7 @@ EXAMPLES
|
|
|
1108
936
|
$ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
|
|
1109
937
|
```
|
|
1110
938
|
|
|
1111
|
-
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
939
|
+
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/version/list.ts)_
|
|
1112
940
|
|
|
1113
941
|
## `sf package version promote`
|
|
1114
942
|
|
|
@@ -1152,7 +980,7 @@ EXAMPLES
|
|
|
1152
980
|
$ sf package version promote --package "Awesome Package Alias"
|
|
1153
981
|
```
|
|
1154
982
|
|
|
1155
|
-
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
983
|
+
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/version/promote.ts)_
|
|
1156
984
|
|
|
1157
985
|
## `sf package version report`
|
|
1158
986
|
|
|
@@ -1192,7 +1020,7 @@ EXAMPLES
|
|
|
1192
1020
|
$ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
|
|
1193
1021
|
```
|
|
1194
1022
|
|
|
1195
|
-
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
1023
|
+
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/version/report.ts)_
|
|
1196
1024
|
|
|
1197
1025
|
## `sf package version update`
|
|
1198
1026
|
|
|
@@ -1245,6 +1073,178 @@ EXAMPLES
|
|
|
1245
1073
|
$ sf package version update --package 04t... --version-description "New Package Version Description"
|
|
1246
1074
|
```
|
|
1247
1075
|
|
|
1248
|
-
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.
|
|
1076
|
+
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package/version/update.ts)_
|
|
1077
|
+
|
|
1078
|
+
## `sf package1 version create`
|
|
1079
|
+
|
|
1080
|
+
Create a first-generation package version in the release org.
|
|
1081
|
+
|
|
1082
|
+
```
|
|
1083
|
+
USAGE
|
|
1084
|
+
$ sf package1 version create -o <value> -i <value> -n <value> [--json] [--flags-dir <value>] [--api-version <value>] [-d
|
|
1085
|
+
<value>] [-v <value>] [-m] [-r <value>] [-p <value>] [-k <value>] [-w <value>]
|
|
1086
|
+
|
|
1087
|
+
FLAGS
|
|
1088
|
+
-d, --description=<value> Package version description.
|
|
1089
|
+
-i, --package-id=<value> (required) ID of the metadata package (starts with 033) of which you’re creating a
|
|
1090
|
+
new version.
|
|
1091
|
+
-k, --installation-key=<value> Installation key for key-protected package (default: null).
|
|
1092
|
+
-m, --managed-released Create a managed package version.
|
|
1093
|
+
-n, --name=<value> (required) Package version name.
|
|
1094
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1095
|
+
configuration variable is already set.
|
|
1096
|
+
-p, --post-install-url=<value> Post install URL.
|
|
1097
|
+
-r, --release-notes-url=<value> Release notes URL.
|
|
1098
|
+
-v, --version=<value> Package version in major.minor format, for example, 3.2.
|
|
1099
|
+
-w, --wait=<value> Minutes to wait for the package version to be created (default: 2 minutes).
|
|
1100
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1101
|
+
|
|
1102
|
+
GLOBAL FLAGS
|
|
1103
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1104
|
+
--json Format output as json.
|
|
1105
|
+
|
|
1106
|
+
DESCRIPTION
|
|
1107
|
+
Create a first-generation package version in the release org.
|
|
1108
|
+
|
|
1109
|
+
The package version is based on the contents of the specified metadata package. Omit --managed-released if you want to
|
|
1110
|
+
create an unmanaged package version.
|
|
1111
|
+
|
|
1112
|
+
ALIASES
|
|
1113
|
+
$ sf force package1 version create
|
|
1114
|
+
|
|
1115
|
+
EXAMPLES
|
|
1116
|
+
Create a first-generation package version from the package with the specified ID and name the package version
|
|
1117
|
+
"example"; use your default org:
|
|
1118
|
+
|
|
1119
|
+
$ sf package1 version create --package-id 033... --name example
|
|
1120
|
+
|
|
1121
|
+
Same as previous example, but provide a description and wait for 30 minutes for the package version to be created;
|
|
1122
|
+
use the specified org:
|
|
1123
|
+
|
|
1124
|
+
$ sf package1 version create --package-id 033... --name example --description "example description" --wait 30 \
|
|
1125
|
+
--target-org myorg@example.com
|
|
1126
|
+
|
|
1127
|
+
FLAG DESCRIPTIONS
|
|
1128
|
+
-m, --managed-released Create a managed package version.
|
|
1129
|
+
|
|
1130
|
+
To create a beta version, don’t include this parameter.
|
|
1131
|
+
|
|
1132
|
+
-p, --post-install-url=<value> Post install URL.
|
|
1133
|
+
|
|
1134
|
+
The contents of the post-installation instructions URL are displayed in the UI after installation of the package
|
|
1135
|
+
version.
|
|
1136
|
+
|
|
1137
|
+
-r, --release-notes-url=<value> Release notes URL.
|
|
1138
|
+
|
|
1139
|
+
This link is displayed in the package installation UI to provide release notes for this package version to
|
|
1140
|
+
subscribers.
|
|
1141
|
+
```
|
|
1142
|
+
|
|
1143
|
+
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package1/version/create.ts)_
|
|
1144
|
+
|
|
1145
|
+
## `sf package1 version create get`
|
|
1146
|
+
|
|
1147
|
+
Retrieve the status of a package version creation request.
|
|
1148
|
+
|
|
1149
|
+
```
|
|
1150
|
+
USAGE
|
|
1151
|
+
$ sf package1 version create get -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
1152
|
+
|
|
1153
|
+
FLAGS
|
|
1154
|
+
-i, --request-id=<value> (required) ID of the PackageUploadRequest (starts with 0HD).
|
|
1155
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1156
|
+
configuration variable is already set.
|
|
1157
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1158
|
+
|
|
1159
|
+
GLOBAL FLAGS
|
|
1160
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1161
|
+
--json Format output as json.
|
|
1162
|
+
|
|
1163
|
+
ALIASES
|
|
1164
|
+
$ sf force package1 version create get
|
|
1165
|
+
|
|
1166
|
+
EXAMPLES
|
|
1167
|
+
Get the status of the creation request for the package version with the specified ID in your default org:
|
|
1168
|
+
|
|
1169
|
+
$ sf package1 version create get --request-id 0HD...
|
|
1170
|
+
|
|
1171
|
+
Same as previous example, but use the specified org:
|
|
1172
|
+
|
|
1173
|
+
$ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
|
|
1174
|
+
```
|
|
1175
|
+
|
|
1176
|
+
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package1/version/create/get.ts)_
|
|
1177
|
+
|
|
1178
|
+
## `sf package1 version display`
|
|
1179
|
+
|
|
1180
|
+
Display details about a first-generation package version.
|
|
1181
|
+
|
|
1182
|
+
```
|
|
1183
|
+
USAGE
|
|
1184
|
+
$ sf package1 version display -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
1185
|
+
|
|
1186
|
+
FLAGS
|
|
1187
|
+
-i, --package-version-id=<value> (required) ID (starts with 04t) of the metadata package version whose details you
|
|
1188
|
+
want to display.
|
|
1189
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1190
|
+
configuration variable is already set.
|
|
1191
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1192
|
+
|
|
1193
|
+
GLOBAL FLAGS
|
|
1194
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1195
|
+
--json Format output as json.
|
|
1196
|
+
|
|
1197
|
+
ALIASES
|
|
1198
|
+
$ sf force package1 version display
|
|
1199
|
+
|
|
1200
|
+
EXAMPLES
|
|
1201
|
+
Display details about the first-generation package version with the specified ID in your default org:
|
|
1202
|
+
|
|
1203
|
+
$ sf package1 version display --package-version-id 04t...
|
|
1204
|
+
|
|
1205
|
+
Same as previous example, but use the specified org:
|
|
1206
|
+
|
|
1207
|
+
$ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
|
|
1208
|
+
```
|
|
1209
|
+
|
|
1210
|
+
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package1/version/display.ts)_
|
|
1211
|
+
|
|
1212
|
+
## `sf package1 version list`
|
|
1213
|
+
|
|
1214
|
+
List package versions for the specified first-generation package or for the org.
|
|
1215
|
+
|
|
1216
|
+
```
|
|
1217
|
+
USAGE
|
|
1218
|
+
$ sf package1 version list -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-i <value>]
|
|
1219
|
+
|
|
1220
|
+
FLAGS
|
|
1221
|
+
-i, --package-id=<value> Metadata package ID (starts with 033) whose package versions you want to list.
|
|
1222
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
1223
|
+
configuration variable is already set.
|
|
1224
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
1225
|
+
|
|
1226
|
+
GLOBAL FLAGS
|
|
1227
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
1228
|
+
--json Format output as json.
|
|
1229
|
+
|
|
1230
|
+
ALIASES
|
|
1231
|
+
$ sf force package1 version list
|
|
1232
|
+
|
|
1233
|
+
EXAMPLES
|
|
1234
|
+
List all first-generation package versions in your default org:
|
|
1235
|
+
|
|
1236
|
+
$ sf package1 version list
|
|
1237
|
+
|
|
1238
|
+
List package versions for the specified first-generation package in the specifief org:
|
|
1239
|
+
|
|
1240
|
+
$ sf package1 version list --package-id 033... --target-org myorg@example.com
|
|
1241
|
+
|
|
1242
|
+
FLAG DESCRIPTIONS
|
|
1243
|
+
-i, --package-id=<value> Metadata package ID (starts with 033) whose package versions you want to list.
|
|
1244
|
+
|
|
1245
|
+
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
|
|
1246
|
+
```
|
|
1247
|
+
|
|
1248
|
+
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.5/src/commands/package1/version/list.ts)_
|
|
1249
1249
|
|
|
1250
1250
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-packaging",
|
|
3
3
|
"description": "SF plugin that support Salesforce Packaging Platform",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.5",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@oclif/core": "^3.26.5",
|
|
9
|
-
"@salesforce/core": "^7.3.
|
|
9
|
+
"@salesforce/core": "^7.3.8",
|
|
10
10
|
"@salesforce/kit": "^3.1.0",
|
|
11
11
|
"@salesforce/packaging": "^3.5.16",
|
|
12
12
|
"@salesforce/sf-plugins-core": "^9.0.10",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@oclif/plugin-command-snapshot": "^5.1.8",
|
|
17
17
|
"@salesforce/cli-plugins-testkit": "^5.2.0",
|
|
18
|
-
"@salesforce/dev-scripts": "^9.1.
|
|
18
|
+
"@salesforce/dev-scripts": "^9.1.2",
|
|
19
19
|
"@salesforce/plugin-command-reference": "^3.0.82",
|
|
20
20
|
"eslint-plugin-sf-plugin": "^1.18.0",
|
|
21
|
-
"oclif": "^4.10.
|
|
21
|
+
"oclif": "^4.10.11",
|
|
22
22
|
"ts-node": "^10.9.2",
|
|
23
23
|
"typescript": "^5.4.5"
|
|
24
24
|
},
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"exports": "./lib/index.js",
|
|
247
247
|
"type": "module",
|
|
248
248
|
"sfdx": {
|
|
249
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.4.
|
|
250
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.4.
|
|
249
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.4.5.crt",
|
|
250
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-packaging/2.4.5.sig"
|
|
251
251
|
}
|
|
252
252
|
}
|