@salesforce/plugin-packaging 0.0.1 → 1.2.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 +31 -1
- package/README.md +732 -14
- package/lib/commands/force/package/beta/convert.d.ts +13 -0
- package/lib/commands/force/package/beta/convert.js +61 -0
- package/lib/commands/force/package/beta/convert.js.map +1 -0
- package/lib/commands/force/package/beta/create.d.ts +15 -0
- package/lib/commands/force/package/beta/create.js +87 -0
- package/lib/commands/force/package/beta/create.js.map +1 -0
- package/lib/commands/force/package/beta/delete.d.ts +14 -0
- package/lib/commands/force/package/beta/delete.js +61 -0
- package/lib/commands/force/package/beta/delete.js.map +1 -0
- package/lib/commands/force/package/beta/install/report.d.ts +15 -0
- package/lib/commands/force/package/beta/install/report.js +66 -0
- package/lib/commands/force/package/beta/install/report.js.map +1 -0
- package/lib/commands/force/package/beta/install.d.ts +22 -0
- package/lib/commands/force/package/beta/install.js +228 -0
- package/lib/commands/force/package/beta/install.js.map +1 -0
- package/lib/commands/force/package/beta/installed/list.d.ts +17 -0
- package/lib/commands/force/package/beta/installed/list.js +46 -0
- package/lib/commands/force/package/beta/installed/list.js.map +1 -0
- package/lib/commands/force/package/beta/list.d.ts +21 -0
- package/lib/commands/force/package/beta/list.js +90 -0
- package/lib/commands/force/package/beta/list.js.map +1 -0
- package/lib/commands/force/package/beta/uninstall/report.d.ts +10 -0
- package/lib/commands/force/package/beta/uninstall/report.js +33 -0
- package/lib/commands/force/package/beta/uninstall/report.js.map +1 -0
- package/lib/commands/force/package/beta/uninstall.d.ts +12 -0
- package/lib/commands/force/package/beta/uninstall.js +52 -0
- package/lib/commands/force/package/beta/uninstall.js.map +1 -0
- package/lib/commands/force/package/beta/update.d.ts +12 -0
- package/lib/commands/force/package/beta/update.js +51 -0
- package/lib/commands/force/package/beta/update.js.map +1 -0
- package/lib/commands/force/package/beta/version/create/list.d.ts +12 -0
- package/lib/commands/force/package/beta/version/create/list.js +40 -0
- package/lib/commands/force/package/beta/version/create/list.js.map +1 -0
- package/lib/commands/force/package/beta/version/create/report.d.ts +12 -0
- package/lib/commands/force/package/beta/version/create/report.js +87 -0
- package/lib/commands/force/package/beta/version/create/report.js.map +1 -0
- package/lib/commands/force/package/beta/version/create.d.ts +12 -0
- package/lib/commands/force/package/beta/version/create.js +136 -0
- package/lib/commands/force/package/beta/version/create.js.map +1 -0
- package/lib/commands/force/package/beta/version/delete.d.ts +15 -0
- package/lib/commands/force/package/beta/version/delete.js +64 -0
- package/lib/commands/force/package/beta/version/delete.js.map +1 -0
- package/lib/commands/force/package/beta/version/displayancestry.d.ts +13 -0
- package/lib/commands/force/package/beta/version/displayancestry.js +46 -0
- package/lib/commands/force/package/beta/version/displayancestry.js.map +1 -0
- package/lib/commands/force/package/beta/version/list.d.ts +12 -0
- package/lib/commands/force/package/beta/version/list.js +62 -0
- package/lib/commands/force/package/beta/version/list.js.map +1 -0
- package/lib/commands/force/package/beta/version/promote.d.ts +12 -0
- package/lib/commands/force/package/beta/version/promote.js +40 -0
- package/lib/commands/force/package/beta/version/promote.js.map +1 -0
- package/lib/commands/force/package/beta/version/report.d.ts +24 -0
- package/lib/commands/force/package/beta/version/report.js +209 -0
- package/lib/commands/force/package/beta/version/report.js.map +1 -0
- package/lib/commands/force/package/beta/version/update.d.ts +12 -0
- package/lib/commands/force/package/beta/version/update.js +60 -0
- package/lib/commands/force/package/beta/version/update.js.map +1 -0
- package/lib/commands/force/package1/beta/version/create/get.d.ts +9 -0
- package/lib/commands/force/package1/beta/version/create/get.js +48 -0
- package/lib/commands/force/package1/beta/version/create/get.js.map +1 -0
- package/lib/commands/force/package1/beta/version/create.d.ts +14 -0
- package/lib/commands/force/package1/beta/version/create.js +116 -0
- package/lib/commands/force/package1/beta/version/create.js.map +1 -0
- package/lib/commands/force/package1/beta/version/display.d.ts +9 -0
- package/lib/commands/force/package1/beta/version/display.js +55 -0
- package/lib/commands/force/package1/beta/version/display.js.map +1 -0
- package/lib/commands/force/package1/beta/version/list.d.ts +10 -0
- package/lib/commands/force/package1/beta/version/list.js +54 -0
- package/lib/commands/force/package1/beta/version/list.js.map +1 -0
- package/messages/default.md +1127 -0
- package/messages/package1_version_create.md +128 -0
- package/messages/package1_version_create_get.md +31 -0
- package/messages/package1_version_display.md +19 -0
- package/messages/package1_version_list.md +31 -0
- package/messages/package2.md +87 -0
- package/messages/package2_create.md +56 -0
- package/messages/package2_list.md +35 -0
- package/messages/package2_update.md +45 -0
- package/messages/package2_version_create.md +149 -0
- package/messages/package2_version_create_get.md +34 -0
- package/messages/package2_version_create_list.md +62 -0
- package/messages/package2_version_get.md +14 -0
- package/messages/package2_version_list.md +98 -0
- package/messages/package2_version_update.md +89 -0
- package/messages/package_convert.md +72 -0
- package/messages/package_create.md +90 -0
- package/messages/package_delete.md +63 -0
- package/messages/package_displayancestry.md +64 -0
- package/messages/package_install.md +178 -0
- package/messages/package_install_get.md +34 -0
- package/messages/package_install_report.md +34 -0
- package/messages/package_install_request.md +34 -0
- package/messages/package_installed_list.md +16 -0
- package/messages/package_list.md +67 -0
- package/messages/package_uninstall.md +73 -0
- package/messages/package_uninstall_get.md +34 -0
- package/messages/package_uninstall_report.md +34 -0
- package/messages/package_update.md +45 -0
- package/messages/package_version_create.md +301 -0
- package/messages/package_version_create_list.md +62 -0
- package/messages/package_version_create_report.md +35 -0
- package/messages/package_version_delete.md +63 -0
- package/messages/package_version_list.md +135 -0
- package/messages/package_version_promote.md +50 -0
- package/messages/package_version_report.md +51 -0
- package/messages/package_version_update.md +74 -0
- package/messages/packaging.md +157 -0
- package/oclif.manifest.json +1 -1
- package/package.json +68 -15
- package/lib/commands/force/package/placeholder.d.ts +0 -6
- package/lib/commands/force/package/placeholder.js +0 -18
- package/lib/commands/force/package/placeholder.js.map +0 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
list all package versions in the Dev Hub org
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Lists all package2 versions in the Dev Hub org.
|
|
8
|
+
|
|
9
|
+
# conciseDescription
|
|
10
|
+
|
|
11
|
+
display limited package2 version details
|
|
12
|
+
|
|
13
|
+
# conciseLongDescription
|
|
14
|
+
|
|
15
|
+
Displays limited package2 version details.
|
|
16
|
+
|
|
17
|
+
# package2IdsDescription
|
|
18
|
+
|
|
19
|
+
filter results on specified comma-delimited package2 ids (start with 0Ho)
|
|
20
|
+
|
|
21
|
+
# package2IdsLongDescription
|
|
22
|
+
|
|
23
|
+
Filters results on the specified comma-delimited package2 IDs (start with 0Ho).
|
|
24
|
+
|
|
25
|
+
# releasedDescription
|
|
26
|
+
|
|
27
|
+
display released versions only
|
|
28
|
+
|
|
29
|
+
# releasedLongDescription
|
|
30
|
+
|
|
31
|
+
Displays released versions only (IsReleased=true).
|
|
32
|
+
|
|
33
|
+
# orderByDescription
|
|
34
|
+
|
|
35
|
+
order by the specified package2 version fields
|
|
36
|
+
|
|
37
|
+
# orderByLongDescription
|
|
38
|
+
|
|
39
|
+
Orders the list by the specified package2 version fields.
|
|
40
|
+
|
|
41
|
+
# verboseDescription
|
|
42
|
+
|
|
43
|
+
display extended package2 versions detail
|
|
44
|
+
|
|
45
|
+
# verboseLongDescription
|
|
46
|
+
|
|
47
|
+
Display extended package2 versions detail.
|
|
48
|
+
|
|
49
|
+
# help
|
|
50
|
+
|
|
51
|
+
Displays details of each package2 version in the org.
|
|
52
|
+
|
|
53
|
+
Use --concise or --verbose to display limited or additional details, respectively.
|
|
54
|
+
|
|
55
|
+
All filter parameters are applied using the AND logical operator (not OR).
|
|
56
|
+
|
|
57
|
+
Examples:
|
|
58
|
+
$ sfdx force:package2:version:list --verbose --createdlastdays 3 --released --orderby PatchVersion
|
|
59
|
+
$ sfdx force:package2:version:list --package2ids 0Ho000000000000,0Ho000000000001 --released --modifiedlastdays 0
|
|
60
|
+
$ sfdx force:package2:version:list --released
|
|
61
|
+
$ sfdx force:package2:version:list --concise --modifiedlastdays 0
|
|
62
|
+
$ sfdx force:package2:version:list --concise -c 3 -r
|
|
63
|
+
|
|
64
|
+
# name
|
|
65
|
+
|
|
66
|
+
Name
|
|
67
|
+
|
|
68
|
+
# description
|
|
69
|
+
|
|
70
|
+
Description
|
|
71
|
+
|
|
72
|
+
# version
|
|
73
|
+
|
|
74
|
+
Version
|
|
75
|
+
|
|
76
|
+
# id
|
|
77
|
+
|
|
78
|
+
Package2 Version Id
|
|
79
|
+
|
|
80
|
+
# subscriberPackageVersionId
|
|
81
|
+
|
|
82
|
+
Subscriber Package2 Version Id
|
|
83
|
+
|
|
84
|
+
# package2Id
|
|
85
|
+
|
|
86
|
+
Package2 Id
|
|
87
|
+
|
|
88
|
+
# package2Branch
|
|
89
|
+
|
|
90
|
+
Branch
|
|
91
|
+
|
|
92
|
+
# package2Tag
|
|
93
|
+
|
|
94
|
+
Tag
|
|
95
|
+
|
|
96
|
+
# installUrl
|
|
97
|
+
|
|
98
|
+
Installation URL
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
update a second-generation package version
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Updates a second-generation package version in the Dev Hub org.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Specify a new value for each option you want to update.
|
|
12
|
+
|
|
13
|
+
Examples:
|
|
14
|
+
$ sfdx force:package2:version:update --package2versionid 05i... --setasreleased
|
|
15
|
+
$ sfdx force:package2:version:update -i 05i... -b master -t 'Release 1.0.7'
|
|
16
|
+
|
|
17
|
+
To display details about a package2 version, run "sfdx force:package2:version:get".
|
|
18
|
+
|
|
19
|
+
# id
|
|
20
|
+
|
|
21
|
+
the package version ID (starts wtih 05i)
|
|
22
|
+
|
|
23
|
+
# idLong
|
|
24
|
+
|
|
25
|
+
The package version ID (starts with 05i).
|
|
26
|
+
|
|
27
|
+
# name
|
|
28
|
+
|
|
29
|
+
the package version name
|
|
30
|
+
|
|
31
|
+
# nameLong
|
|
32
|
+
|
|
33
|
+
The package version name.
|
|
34
|
+
|
|
35
|
+
# description
|
|
36
|
+
|
|
37
|
+
the package version description
|
|
38
|
+
|
|
39
|
+
# descriptionLong
|
|
40
|
+
|
|
41
|
+
The second-generation package version description.
|
|
42
|
+
|
|
43
|
+
# branch
|
|
44
|
+
|
|
45
|
+
the package version branch
|
|
46
|
+
|
|
47
|
+
# branchLong
|
|
48
|
+
|
|
49
|
+
The second-generation package version branch.
|
|
50
|
+
|
|
51
|
+
# tag
|
|
52
|
+
|
|
53
|
+
the package version tag
|
|
54
|
+
|
|
55
|
+
# tagLong
|
|
56
|
+
|
|
57
|
+
The second-generation package version tag.
|
|
58
|
+
|
|
59
|
+
# key
|
|
60
|
+
|
|
61
|
+
installation key for key-protected package (default: null)
|
|
62
|
+
|
|
63
|
+
# longKey
|
|
64
|
+
|
|
65
|
+
Installation key for creating the key-protected package. The default is null.
|
|
66
|
+
|
|
67
|
+
# setasreleased
|
|
68
|
+
|
|
69
|
+
set the package version as released (can’t be undone)
|
|
70
|
+
|
|
71
|
+
# setasreleasedLong
|
|
72
|
+
|
|
73
|
+
Sets the second-generation package version as released. Second-generation packages can’t be changed to beta after they’ve been released.
|
|
74
|
+
|
|
75
|
+
# setasreleasedForce
|
|
76
|
+
|
|
77
|
+
no prompt to confirm setting the package version as released
|
|
78
|
+
|
|
79
|
+
# setasreleasedForceLong
|
|
80
|
+
|
|
81
|
+
No prompt to confirm setting the package version as released.
|
|
82
|
+
|
|
83
|
+
# humanSuccess
|
|
84
|
+
|
|
85
|
+
Successfully updated the package version. ID: %s.
|
|
86
|
+
|
|
87
|
+
# previousReleased
|
|
88
|
+
|
|
89
|
+
To release the new package2 version, run "sfdx force:package2:version:update -s <new package2 version ID>".
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
creates a second-generation package version from a first-generation package
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Creates a second-generation package in the Dev Hub from a first-generation package in the Dev Hub org.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
The package convert creates a new package in the Dev Hub if one does not already exist for the specified first-generation package.
|
|
12
|
+
|
|
13
|
+
It then creates a new package version in the Dev Hub with contents based on the specified first-generation package.
|
|
14
|
+
|
|
15
|
+
The latest released non-patch package version from the specified first-generation package will be converted.
|
|
16
|
+
|
|
17
|
+
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...".
|
|
18
|
+
|
|
19
|
+
We recommend specifying the --installationkey to protect the contents of your package and to prevent unauthorized installation of your package.
|
|
20
|
+
|
|
21
|
+
To list package version creation requests in the org, run "sfdx force:package:version:create:list".
|
|
22
|
+
|
|
23
|
+
Examples:
|
|
24
|
+
$ sfdx force:package:convert --package 033xx0000004Gmn -k password123
|
|
25
|
+
|
|
26
|
+
# package
|
|
27
|
+
|
|
28
|
+
ID (starts with 033) of the first-generation package to convert
|
|
29
|
+
|
|
30
|
+
# longPackage
|
|
31
|
+
|
|
32
|
+
The ID (starts with 033) or alias of the package to convert.
|
|
33
|
+
|
|
34
|
+
# key
|
|
35
|
+
|
|
36
|
+
installation key for key-protected package (either --installationkey or --installationkeybypass is required)
|
|
37
|
+
|
|
38
|
+
# longKey
|
|
39
|
+
|
|
40
|
+
Installation key for creating the key-protected package. Either an --installationkey value or the --installationkeybypass flag is required.
|
|
41
|
+
|
|
42
|
+
# keyBypass
|
|
43
|
+
|
|
44
|
+
bypass the installation key requirement (either --installationkey or --installationkeybypass is required)
|
|
45
|
+
|
|
46
|
+
# longKeyBypass
|
|
47
|
+
|
|
48
|
+
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.
|
|
49
|
+
|
|
50
|
+
# wait
|
|
51
|
+
|
|
52
|
+
minutes to wait for the package version to be created
|
|
53
|
+
|
|
54
|
+
# longWait
|
|
55
|
+
|
|
56
|
+
The number of minutes to wait for the package version to be created.
|
|
57
|
+
|
|
58
|
+
# instance
|
|
59
|
+
|
|
60
|
+
the instance where the conversion package version will be created——for example, NA50
|
|
61
|
+
|
|
62
|
+
# longInstance
|
|
63
|
+
|
|
64
|
+
The instance where the conversion package version will be created——for example, NA50.
|
|
65
|
+
|
|
66
|
+
# errorMoreThanOnePackage2WithSeed
|
|
67
|
+
|
|
68
|
+
Only one package in in a Dev Hub is allowed per converted from first-generation package, but the following were found:
|
|
69
|
+
|
|
70
|
+
# errorNoSubscriberPackageRecord
|
|
71
|
+
|
|
72
|
+
No subscriber package was found for seed id:
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
create a package
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Creates a package.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
First, use this command to create a package. Then create a package version.
|
|
12
|
+
|
|
13
|
+
If you don’t have a namespace defined in your sfdx-project.json file, use --nonamespace.
|
|
14
|
+
|
|
15
|
+
Your --name value must be unique within your namespace.
|
|
16
|
+
|
|
17
|
+
Examples:
|
|
18
|
+
$ sfdx force:package:create -n YourPackageName -t Unlocked -r force-app
|
|
19
|
+
$ sfdx force:package:create -n YourPackageName -d "Your Package Descripton" -t Unlocked -r force-app
|
|
20
|
+
|
|
21
|
+
Run 'sfdx force:package:list' to list all packages in the Dev Hub org.
|
|
22
|
+
|
|
23
|
+
# name
|
|
24
|
+
|
|
25
|
+
package name
|
|
26
|
+
|
|
27
|
+
# nameLong
|
|
28
|
+
|
|
29
|
+
Name of the package to create.
|
|
30
|
+
|
|
31
|
+
# orgDependent
|
|
32
|
+
|
|
33
|
+
depends on unpackaged metadata in the installation org. Applies to unlocked packages only.
|
|
34
|
+
|
|
35
|
+
# orgDependentLong
|
|
36
|
+
|
|
37
|
+
Package depends on unpackaged metadata in the installation org. Applies to unlocked packages only.
|
|
38
|
+
Use Source Tracking in Sandboxes to develop your org-dependent unlocked package.
|
|
39
|
+
For more information, see "Create Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
|
|
40
|
+
|
|
41
|
+
# errorNotificationUsername
|
|
42
|
+
|
|
43
|
+
active Dev Hub user designated to receive email notifications for package errors
|
|
44
|
+
|
|
45
|
+
# errorNotificationUsernameLong
|
|
46
|
+
|
|
47
|
+
An active Dev Hub org user designated to receive email notifications for unhandled Apex exceptions, and install, upgrade, or uninstall failures associated with your package.
|
|
48
|
+
|
|
49
|
+
# description
|
|
50
|
+
|
|
51
|
+
package description
|
|
52
|
+
|
|
53
|
+
# descriptionLong
|
|
54
|
+
|
|
55
|
+
Description of the package.
|
|
56
|
+
|
|
57
|
+
# noNamespace
|
|
58
|
+
|
|
59
|
+
creates the package with no namespace; available only for unlocked packages.
|
|
60
|
+
|
|
61
|
+
# noNamespaceLong
|
|
62
|
+
|
|
63
|
+
Creates the package with no namespace. Available only for unlocked packages. Useful when you’re migrating an existing org to packages. But, use a namespaced package for new metadata.
|
|
64
|
+
|
|
65
|
+
# packageType
|
|
66
|
+
|
|
67
|
+
package type
|
|
68
|
+
|
|
69
|
+
# packageTypeLong
|
|
70
|
+
|
|
71
|
+
Package type for the package.
|
|
72
|
+
The options for package type are Managed and Unlocked (Managed=DeveloperManagedSubscriberManaged, Unlocked=DeveloperControlledSubscriberEditable).
|
|
73
|
+
These options determine upgrade and editability rules.
|
|
74
|
+
|
|
75
|
+
# path
|
|
76
|
+
|
|
77
|
+
path to directory that contains the contents of the package
|
|
78
|
+
|
|
79
|
+
# longPath
|
|
80
|
+
|
|
81
|
+
The path to the directory that contains the contents of the package.
|
|
82
|
+
|
|
83
|
+
# errorPathNotSpecified
|
|
84
|
+
|
|
85
|
+
Add a valid path to packageDirectories in the sfdx-project.json file. When the --path parameter is specified, the path is automatically added to the sfdx-project.json file.
|
|
86
|
+
%s
|
|
87
|
+
|
|
88
|
+
# humanSuccess
|
|
89
|
+
|
|
90
|
+
Successfully created a package.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
delete a package
|
|
4
|
+
|
|
5
|
+
# cliLongDescription
|
|
6
|
+
|
|
7
|
+
Delete unlocked and second-generation managed packages. Before you delete a package, first delete all associated package versions.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Specify the ID or alias of the package you want to delete.
|
|
12
|
+
|
|
13
|
+
Examples:
|
|
14
|
+
$ sfdx force:package:delete -p "Your Package Alias"
|
|
15
|
+
$ sfdx force:package:delete -p 0Ho...
|
|
16
|
+
|
|
17
|
+
# package
|
|
18
|
+
|
|
19
|
+
ID (starts with 0Ho) or alias of the package to delete
|
|
20
|
+
|
|
21
|
+
# packageLong
|
|
22
|
+
|
|
23
|
+
The ID (starts with 0Ho) or alias of the package to delete.
|
|
24
|
+
|
|
25
|
+
# undelete
|
|
26
|
+
|
|
27
|
+
undelete a deleted package
|
|
28
|
+
|
|
29
|
+
# undeleteLong
|
|
30
|
+
|
|
31
|
+
Undelete a deleted package.
|
|
32
|
+
|
|
33
|
+
# noPrompt
|
|
34
|
+
|
|
35
|
+
don’t prompt before deleting the package
|
|
36
|
+
|
|
37
|
+
# noPromptLong
|
|
38
|
+
|
|
39
|
+
Don’t prompt before deleting the package.
|
|
40
|
+
|
|
41
|
+
# promptDelete
|
|
42
|
+
|
|
43
|
+
Deleted packages can’t be recovered.
|
|
44
|
+
|
|
45
|
+
Do you want to continue? (y/n)
|
|
46
|
+
|
|
47
|
+
# promptUndelete
|
|
48
|
+
|
|
49
|
+
This will undelete the package, which may result in unintended consequences for customers. Proceed with caution.
|
|
50
|
+
|
|
51
|
+
Do you want to continue? (y/n)
|
|
52
|
+
|
|
53
|
+
# promptDeleteDeny
|
|
54
|
+
|
|
55
|
+
The request to delete this package was canceled
|
|
56
|
+
|
|
57
|
+
# humanSuccess
|
|
58
|
+
|
|
59
|
+
Successfully deleted the package.
|
|
60
|
+
|
|
61
|
+
# humanSuccessUndelete
|
|
62
|
+
|
|
63
|
+
Successfully undeleted the package.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
display the ancestry tree for a 2GP managed package version
|
|
4
|
+
|
|
5
|
+
# cliDescriptionLong
|
|
6
|
+
|
|
7
|
+
Displays the ancestry tree for a 2GP managed package version.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Examples:
|
|
12
|
+
$ sfdx force:package:version:displayancestry -p package_version_alias
|
|
13
|
+
$ sfdx force:package:version:displayancestry -p package_version_alias --dotcode
|
|
14
|
+
$ sfdx force:package:version:displayancestry -p OHo...
|
|
15
|
+
$ sfdx force:package:version:displayancestry -p 04t...
|
|
16
|
+
|
|
17
|
+
# package
|
|
18
|
+
|
|
19
|
+
ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for
|
|
20
|
+
|
|
21
|
+
# packageLong
|
|
22
|
+
|
|
23
|
+
The ID or alias of the package or package version to display ancestry for. If you specify a package ID (starts with 0Ho) or alias, the ancestor tree for every package version associated with the package ID is displayed.
|
|
24
|
+
If you specify a package version (starts with 04t) or alias, the ancestry tree of the specified package version is displayed.
|
|
25
|
+
|
|
26
|
+
# dotcode
|
|
27
|
+
|
|
28
|
+
display the ancestry tree in DOT code
|
|
29
|
+
|
|
30
|
+
# dotcodeLong
|
|
31
|
+
|
|
32
|
+
Displays the ancestry tree in DOT code. You can use the DOT code output in graph visualization software to create tree visualizations.
|
|
33
|
+
|
|
34
|
+
# verbose
|
|
35
|
+
|
|
36
|
+
display both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree
|
|
37
|
+
|
|
38
|
+
# verboseLong
|
|
39
|
+
|
|
40
|
+
Displays both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree.
|
|
41
|
+
|
|
42
|
+
# invalidId
|
|
43
|
+
|
|
44
|
+
Can’t display the ancestry tree for %s. Specify a valid package ID (starts with 0Ho) or package version ID (starts with 04t), and try creating the ancestry tree again.
|
|
45
|
+
|
|
46
|
+
# parseError
|
|
47
|
+
|
|
48
|
+
Can’t display the ancestry tree. The specified package alias can’t be located. Check that you’re running this CLI command from the DX project directory, and try creating the ancestry tree again.
|
|
49
|
+
|
|
50
|
+
# versionNotFound
|
|
51
|
+
|
|
52
|
+
Can’t display the ancestry tree for %s. Verify the package version number (starts with 04t) or the package version alias listed in the sfdx-project.json file, and try creating the ancestry tree again.
|
|
53
|
+
|
|
54
|
+
# invalidAlias
|
|
55
|
+
|
|
56
|
+
Can’t display the ancestry tree for %s. The specified package alias can’t be found. Verify the package alias name listed in the sfdx-project.json, or specify the package ID or package version ID, and try creating the ancestry tree again.
|
|
57
|
+
|
|
58
|
+
# unlockedPackageError
|
|
59
|
+
|
|
60
|
+
Can’t display package ancestry. Package ancestry is available only for second-generation managed packages. Retry this command and specify a second-generation managed package or package version.
|
|
61
|
+
|
|
62
|
+
# noVersionsError
|
|
63
|
+
|
|
64
|
+
Can’t display package ancestry. The specified package has no associated released package versions. Retry this command after you create and promote at least one package version.
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
install a package in the target org
|
|
4
|
+
|
|
5
|
+
# cliDescriptionLong
|
|
6
|
+
|
|
7
|
+
Installs a package in the target org.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Supply the ID of the package version to install. The package installs in your default target org unless you supply the username for a different target org.
|
|
12
|
+
|
|
13
|
+
For package upgrades, to specify options for component deprecation or deletion of removed components, include an --upgradetype value. To delete components that can be safely deleted and deprecate the others, specify --upgradetype Mixed (the default). To deprecate all removed components, specify --upgradetype DeprecateOnly. To delete all removed components, except for custom objects and custom fields, that don't have dependencies, specify --upgradetype Delete. (Note: This option can result in the loss of data that is associated with the deleted components.) The default is Mixed.
|
|
14
|
+
|
|
15
|
+
Examples:
|
|
16
|
+
$ sfdx force:package:beta:install --package 04t... -u me@example.com
|
|
17
|
+
$ sfdx force:package:beta:install --package awesome_package_alias
|
|
18
|
+
$ sfdx force:package:beta:install --package "Awesome Package Alias"
|
|
19
|
+
$ sfdx force:package:beta:install --package 04t... -t DeprecateOnly
|
|
20
|
+
|
|
21
|
+
# id
|
|
22
|
+
|
|
23
|
+
ID of the package version to install (starts with 04t)
|
|
24
|
+
|
|
25
|
+
# idLong
|
|
26
|
+
|
|
27
|
+
The ID of the package version to install (starts with 04t).
|
|
28
|
+
|
|
29
|
+
# wait
|
|
30
|
+
|
|
31
|
+
number of minutes to wait for installation status
|
|
32
|
+
|
|
33
|
+
# waitLong
|
|
34
|
+
|
|
35
|
+
Maximum number of minutes to wait for installation status. The default is 0.
|
|
36
|
+
|
|
37
|
+
# installationKey
|
|
38
|
+
|
|
39
|
+
installation key for key-protected package (default: null)
|
|
40
|
+
|
|
41
|
+
# installationKeyLong
|
|
42
|
+
|
|
43
|
+
Installation key for installing a key-protected package. The default is null.
|
|
44
|
+
|
|
45
|
+
# noPrompt
|
|
46
|
+
|
|
47
|
+
do not prompt for confirmation
|
|
48
|
+
|
|
49
|
+
# noPromptLong
|
|
50
|
+
|
|
51
|
+
Allows the following without an explicit confirmation response: 1) Remote Site Settings and Content Security Policy websites to send or receive data, and 2) --upgradetype Delete to proceed.
|
|
52
|
+
|
|
53
|
+
# promptRss
|
|
54
|
+
|
|
55
|
+
This package might send or receive data from these third-party websites:
|
|
56
|
+
|
|
57
|
+
%s
|
|
58
|
+
|
|
59
|
+
Grant access (y/n)?
|
|
60
|
+
|
|
61
|
+
# promptUpgradeType
|
|
62
|
+
|
|
63
|
+
The Delete upgrade type permanently deletes metadata types that have been removed from the package. Deleted metadata can’t be recovered. We don't delete custom objects and custom fields. Instead, we deprecate them.
|
|
64
|
+
|
|
65
|
+
Do you want to continue? (y/n)
|
|
66
|
+
|
|
67
|
+
# promptUpgradeTypeDeny
|
|
68
|
+
|
|
69
|
+
We canceled this package installation per your request.
|
|
70
|
+
|
|
71
|
+
# publishWait
|
|
72
|
+
|
|
73
|
+
number of minutes to wait for subscriber package version ID to become available in the target org
|
|
74
|
+
|
|
75
|
+
# publishWaitLong
|
|
76
|
+
|
|
77
|
+
Maximum number of minutes to wait for the Subscriber Package Version ID to become available in the target org before canceling the install request. The default is 0.
|
|
78
|
+
|
|
79
|
+
# packageInstallSuccess
|
|
80
|
+
|
|
81
|
+
Successfully installed package [%s]
|
|
82
|
+
|
|
83
|
+
# publishWaitProgress
|
|
84
|
+
|
|
85
|
+
Waiting for the Subscriber Package Version ID to be published to the target org.%s
|
|
86
|
+
|
|
87
|
+
# errorApvIdNotPublished
|
|
88
|
+
|
|
89
|
+
The package version is not fully available. If this is a recently created package version, try again in a few minutes or contact the package publisher.
|
|
90
|
+
|
|
91
|
+
# package
|
|
92
|
+
|
|
93
|
+
ID (starts with 04t) or alias of the package version to install
|
|
94
|
+
|
|
95
|
+
# packageLong
|
|
96
|
+
|
|
97
|
+
The ID (starts with 04t) or alias of the package version to install.
|
|
98
|
+
|
|
99
|
+
# securityType
|
|
100
|
+
|
|
101
|
+
security access type for the installed package (deprecation notice: The default --securitytype value will change from AllUsers to AdminsOnly in v47.0 or later.)
|
|
102
|
+
|
|
103
|
+
# securityTypeLong
|
|
104
|
+
|
|
105
|
+
Security access type for the installed package.
|
|
106
|
+
|
|
107
|
+
# upgradeType
|
|
108
|
+
|
|
109
|
+
the upgrade type for the package installation; available only for unlocked packages
|
|
110
|
+
|
|
111
|
+
# upgradeTypeLong
|
|
112
|
+
|
|
113
|
+
For package upgrades, specifies whether to mark all removed components as deprecated (DeprecateOnly), to delete removed components that can be safely deleted and deprecate the others (Mixed), or to delete all removed components, except for custom objects and custom fields, that don't have dependencies (Delete). The default is Mixed. Can specify DeprecateOnly or Delete only for unlocked package upgrades.
|
|
114
|
+
|
|
115
|
+
# apexCompile
|
|
116
|
+
|
|
117
|
+
compile all Apex in the org and package, or only Apex in the package; unlocked packages only
|
|
118
|
+
|
|
119
|
+
# apexCompileLong
|
|
120
|
+
|
|
121
|
+
Applies to unlocked packages only. Specifies whether to compile all Apex in the org and package, or only the Apex in the package.
|
|
122
|
+
For package installs into production orgs, or any org that has Apex Compile on Deploy enabled, the platform compiles all Apex in the org after the package install or upgrade operation completes.
|
|
123
|
+
This approach assures that package installs and upgrades don’t impact the performance of an org, and is done even if --apexcompile package is specified.
|
|
124
|
+
|
|
125
|
+
# projectNotFound
|
|
126
|
+
|
|
127
|
+
Could not find the sfdx-project.json for subscriber package version: [%s]
|
|
128
|
+
|
|
129
|
+
# projectNotFound.actions
|
|
130
|
+
|
|
131
|
+
Are you running the command from within the project directory when using an alias?
|
|
132
|
+
|
|
133
|
+
# packageAliasNotFound
|
|
134
|
+
|
|
135
|
+
The subscriber package version alias: [%s] isn't defined in the sfdx-project.json.
|
|
136
|
+
|
|
137
|
+
# packageAliasNotFound.actions
|
|
138
|
+
|
|
139
|
+
Add it to the packageDirectories section and add the alias to packageAliases with its 04t ID.
|
|
140
|
+
|
|
141
|
+
# promptEnableRss
|
|
142
|
+
|
|
143
|
+
This package might send or receive data from these third-party websites:
|
|
144
|
+
|
|
145
|
+
[%s]
|
|
146
|
+
|
|
147
|
+
Grant access (y/n)?
|
|
148
|
+
|
|
149
|
+
# promptUpgradeType
|
|
150
|
+
|
|
151
|
+
The Delete upgrade type permanently deletes metadata types that have been removed from the package. Deleted metadata can’t be recovered. We don't delete custom objects and custom fields. Instead, we deprecate them.
|
|
152
|
+
|
|
153
|
+
Do you want to continue? (y/n)
|
|
154
|
+
|
|
155
|
+
# promptUpgradeTypeDeny
|
|
156
|
+
|
|
157
|
+
We canceled this package installation per your request.
|
|
158
|
+
|
|
159
|
+
# apiVersionTooLow
|
|
160
|
+
|
|
161
|
+
This command is supported only on API versions 36.0 and higher
|
|
162
|
+
|
|
163
|
+
# packageInstallInProgress
|
|
164
|
+
|
|
165
|
+
PackageInstallRequest is currently InProgress. You can continue to query the status using
|
|
166
|
+
sfdx force:package:beta:install:report -i %s -u %s
|
|
167
|
+
|
|
168
|
+
# packageInstallError
|
|
169
|
+
|
|
170
|
+
Encountered errors installing the package! %s
|
|
171
|
+
|
|
172
|
+
# packageInstallWaiting
|
|
173
|
+
|
|
174
|
+
Waiting %s minutes for package install to complete.
|
|
175
|
+
|
|
176
|
+
# packageInstallWaitingStatus
|
|
177
|
+
|
|
178
|
+
%d minutes remaining until timeout. Install status: %s
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# cliDescription
|
|
2
|
+
|
|
3
|
+
retrieve the status of a package installation request
|
|
4
|
+
|
|
5
|
+
# cliDescriptionLong
|
|
6
|
+
|
|
7
|
+
Retrieves the status of a package installation request.
|
|
8
|
+
|
|
9
|
+
# help
|
|
10
|
+
|
|
11
|
+
Examples:
|
|
12
|
+
$ sfdx force:package:install:get -i 0Hf...
|
|
13
|
+
$ sfdx force:package:install:get -i 0Hf... -u me@example.com
|
|
14
|
+
|
|
15
|
+
# requestId
|
|
16
|
+
|
|
17
|
+
ID of the package install request you want to check
|
|
18
|
+
|
|
19
|
+
# requestIdLong
|
|
20
|
+
|
|
21
|
+
The ID of the package install request you want to check.
|
|
22
|
+
|
|
23
|
+
# IN_PROGRESS
|
|
24
|
+
|
|
25
|
+
PackageInstallRequest is currently InProgress. You can continue to query the status using
|
|
26
|
+
sfdx force:package:install:get -i %s -u %s
|
|
27
|
+
|
|
28
|
+
# UNKNOWN
|
|
29
|
+
|
|
30
|
+
TODO: fix me
|
|
31
|
+
|
|
32
|
+
# SUCCESS
|
|
33
|
+
|
|
34
|
+
Successfully installed package [%s]
|