@salesforce/plugin-packaging 1.12.2 → 1.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/README.md +0 -2
  2. package/lib/commands/package/convert.d.ts +23 -0
  3. package/lib/commands/package/convert.js +128 -0
  4. package/lib/commands/package/convert.js.map +1 -0
  5. package/lib/commands/package/create.d.ts +26 -0
  6. package/lib/commands/package/create.js +92 -0
  7. package/lib/commands/package/create.js.map +1 -0
  8. package/lib/commands/package/delete.d.ts +20 -0
  9. package/lib/commands/package/delete.js +65 -0
  10. package/lib/commands/package/delete.js.map +1 -0
  11. package/lib/commands/package/install/report.d.ts +19 -0
  12. package/lib/commands/package/install/report.js +65 -0
  13. package/lib/commands/package/install/report.js.map +1 -0
  14. package/lib/commands/package/install.d.ts +31 -0
  15. package/lib/commands/{force/package → package}/install.js +72 -76
  16. package/lib/commands/package/install.js.map +1 -0
  17. package/lib/commands/package/installed/list.d.ts +24 -0
  18. package/lib/commands/{force/package → package}/installed/list.js +19 -14
  19. package/lib/commands/package/installed/list.js.map +1 -0
  20. package/lib/commands/package/list.d.ts +26 -0
  21. package/lib/commands/{force/package → package}/list.js +23 -21
  22. package/lib/commands/package/list.js.map +1 -0
  23. package/lib/commands/package/uninstall/report.d.ts +15 -0
  24. package/lib/commands/package/uninstall/report.js +46 -0
  25. package/lib/commands/package/uninstall/report.js.map +1 -0
  26. package/lib/commands/package/uninstall.d.ts +19 -0
  27. package/lib/commands/package/uninstall.js +60 -0
  28. package/lib/commands/package/uninstall.js.map +1 -0
  29. package/lib/commands/package/update.d.ts +20 -0
  30. package/lib/commands/package/update.js +67 -0
  31. package/lib/commands/package/update.js.map +1 -0
  32. package/lib/commands/package/version/create/list.d.ts +18 -0
  33. package/lib/commands/{force/package → package}/version/create/list.js +28 -20
  34. package/lib/commands/package/version/create/list.js.map +1 -0
  35. package/lib/commands/package/version/create/report.d.ts +19 -0
  36. package/lib/commands/{force/package → package}/version/create/report.js +28 -24
  37. package/lib/commands/package/version/create/report.js.map +1 -0
  38. package/lib/commands/package/version/create.d.ts +40 -0
  39. package/lib/commands/package/version/create.js +220 -0
  40. package/lib/commands/package/version/create.js.map +1 -0
  41. package/lib/commands/package/version/delete.d.ts +21 -0
  42. package/lib/commands/package/version/delete.js +71 -0
  43. package/lib/commands/package/version/delete.js.map +1 -0
  44. package/lib/commands/package/version/displayancestry.d.ts +19 -0
  45. package/lib/commands/package/version/displayancestry.js +74 -0
  46. package/lib/commands/package/version/displayancestry.js.map +1 -0
  47. package/lib/commands/package/version/list.d.ts +40 -0
  48. package/lib/commands/{force/package → package}/version/list.js +56 -57
  49. package/lib/commands/package/version/list.js.map +1 -0
  50. package/lib/commands/package/version/promote.d.ts +18 -0
  51. package/lib/commands/{force/package → package}/version/promote.js +28 -25
  52. package/lib/commands/package/version/promote.js.map +1 -0
  53. package/lib/commands/package/version/report.d.ts +29 -0
  54. package/lib/commands/{force/package → package}/version/report.js +34 -32
  55. package/lib/commands/package/version/report.js.map +1 -0
  56. package/lib/commands/package/version/update.d.ts +22 -0
  57. package/lib/commands/package/version/update.js +77 -0
  58. package/lib/commands/package/version/update.js.map +1 -0
  59. package/lib/commands/package1/version/create/get.d.ts +15 -0
  60. package/lib/commands/{force/package1 → package1}/version/create/get.js +22 -14
  61. package/lib/commands/package1/version/create/get.js.map +1 -0
  62. package/lib/commands/package1/version/create.d.ts +28 -0
  63. package/lib/commands/package1/version/create.js +130 -0
  64. package/lib/commands/package1/version/create.js.map +1 -0
  65. package/lib/commands/package1/version/display.d.ts +16 -0
  66. package/lib/commands/{force/package1 → package1}/version/display.js +20 -18
  67. package/lib/commands/package1/version/display.js.map +1 -0
  68. package/lib/commands/package1/version/list.d.ts +16 -0
  69. package/lib/commands/{force/package1 → package1}/version/list.js +21 -20
  70. package/lib/commands/package1/version/list.js.map +1 -0
  71. package/messages/package1_version_create.md +33 -44
  72. package/messages/package1_version_create_get.md +11 -10
  73. package/messages/package1_version_display.md +10 -8
  74. package/messages/package1_version_list.md +14 -8
  75. package/messages/package_convert.md +31 -31
  76. package/messages/package_create.md +31 -40
  77. package/messages/package_delete.md +15 -20
  78. package/messages/package_displayancestry.md +25 -19
  79. package/messages/package_install.md +43 -52
  80. package/messages/package_install_report.md +9 -8
  81. package/messages/package_installed_list.md +9 -4
  82. package/messages/package_list.md +16 -13
  83. package/messages/package_uninstall.md +17 -15
  84. package/messages/package_uninstall_report.md +11 -10
  85. package/messages/package_update.md +13 -18
  86. package/messages/package_version_create.md +81 -127
  87. package/messages/package_version_create_list.md +26 -14
  88. package/messages/package_version_create_report.md +13 -10
  89. package/messages/package_version_delete.md +17 -17
  90. package/messages/package_version_list.md +29 -32
  91. package/messages/package_version_promote.md +22 -16
  92. package/messages/package_version_report.md +13 -14
  93. package/messages/package_version_update.md +23 -37
  94. package/messages/packaging.md +4 -12
  95. package/oclif.manifest.json +2455 -1
  96. package/package.json +61 -76
  97. package/schemas/package-convert.json +73 -0
  98. package/schemas/package-create.json +16 -0
  99. package/schemas/package-delete.json +72 -0
  100. package/schemas/package-install-report.json +169 -0
  101. package/schemas/package-install.json +169 -0
  102. package/schemas/package-installed-list.json +40 -0
  103. package/schemas/package-list.json +55 -0
  104. package/schemas/package-uninstall-report.json +51 -0
  105. package/schemas/package-uninstall.json +54 -0
  106. package/schemas/package-update.json +72 -0
  107. package/schemas/package-version-create-list.json +79 -0
  108. package/schemas/package-version-create-report.json +79 -0
  109. package/schemas/package-version-create.json +60 -0
  110. package/schemas/package-version-delete.json +72 -0
  111. package/schemas/package-version-displayancestry.json +61 -0
  112. package/schemas/package-version-list.json +146 -0
  113. package/schemas/package-version-promote.json +72 -0
  114. package/schemas/package-version-report.json +232 -0
  115. package/schemas/package-version-update.json +72 -0
  116. package/schemas/package1-version-create-get.json +91 -0
  117. package/schemas/package1-version-create.json +94 -0
  118. package/schemas/package1-version-display.json +37 -0
  119. package/schemas/package1-version-list.json +37 -0
  120. package/lib/commands/force/package/convert.d.ts +0 -11
  121. package/lib/commands/force/package/convert.js +0 -106
  122. package/lib/commands/force/package/convert.js.map +0 -1
  123. package/lib/commands/force/package/create.d.ts +0 -13
  124. package/lib/commands/force/package/create.js +0 -82
  125. package/lib/commands/force/package/create.js.map +0 -1
  126. package/lib/commands/force/package/delete.d.ts +0 -12
  127. package/lib/commands/force/package/delete.js +0 -63
  128. package/lib/commands/force/package/delete.js.map +0 -1
  129. package/lib/commands/force/package/install/report.d.ts +0 -12
  130. package/lib/commands/force/package/install/report.js +0 -39
  131. package/lib/commands/force/package/install/report.js.map +0 -1
  132. package/lib/commands/force/package/install.d.ts +0 -20
  133. package/lib/commands/force/package/install.js.map +0 -1
  134. package/lib/commands/force/package/installed/list.d.ts +0 -18
  135. package/lib/commands/force/package/installed/list.js.map +0 -1
  136. package/lib/commands/force/package/list.d.ts +0 -19
  137. package/lib/commands/force/package/list.js.map +0 -1
  138. package/lib/commands/force/package/uninstall/report.d.ts +0 -10
  139. package/lib/commands/force/package/uninstall/report.js +0 -44
  140. package/lib/commands/force/package/uninstall/report.js.map +0 -1
  141. package/lib/commands/force/package/uninstall.d.ts +0 -12
  142. package/lib/commands/force/package/uninstall.js +0 -55
  143. package/lib/commands/force/package/uninstall.js.map +0 -1
  144. package/lib/commands/force/package/update.d.ts +0 -11
  145. package/lib/commands/force/package/update.js +0 -63
  146. package/lib/commands/force/package/update.js.map +0 -1
  147. package/lib/commands/force/package/version/create/list.d.ts +0 -10
  148. package/lib/commands/force/package/version/create/list.js.map +0 -1
  149. package/lib/commands/force/package/version/create/report.d.ts +0 -11
  150. package/lib/commands/force/package/version/create/report.js.map +0 -1
  151. package/lib/commands/force/package/version/create.d.ts +0 -12
  152. package/lib/commands/force/package/version/create.js +0 -203
  153. package/lib/commands/force/package/version/create.js.map +0 -1
  154. package/lib/commands/force/package/version/delete.d.ts +0 -13
  155. package/lib/commands/force/package/version/delete.js +0 -66
  156. package/lib/commands/force/package/version/delete.js.map +0 -1
  157. package/lib/commands/force/package/version/displayancestry.d.ts +0 -13
  158. package/lib/commands/force/package/version/displayancestry.js +0 -70
  159. package/lib/commands/force/package/version/displayancestry.js.map +0 -1
  160. package/lib/commands/force/package/version/list.d.ts +0 -27
  161. package/lib/commands/force/package/version/list.js.map +0 -1
  162. package/lib/commands/force/package/version/promote.d.ts +0 -11
  163. package/lib/commands/force/package/version/promote.js.map +0 -1
  164. package/lib/commands/force/package/version/report.d.ts +0 -22
  165. package/lib/commands/force/package/version/report.js.map +0 -1
  166. package/lib/commands/force/package/version/update.d.ts +0 -11
  167. package/lib/commands/force/package/version/update.js +0 -73
  168. package/lib/commands/force/package/version/update.js.map +0 -1
  169. package/lib/commands/force/package1/version/create/get.d.ts +0 -10
  170. package/lib/commands/force/package1/version/create/get.js.map +0 -1
  171. package/lib/commands/force/package1/version/create.d.ts +0 -13
  172. package/lib/commands/force/package1/version/create.js +0 -115
  173. package/lib/commands/force/package1/version/create.js.map +0 -1
  174. package/lib/commands/force/package1/version/display.d.ts +0 -9
  175. package/lib/commands/force/package1/version/display.js.map +0 -1
  176. package/lib/commands/force/package1/version/list.d.ts +0 -9
  177. package/lib/commands/force/package1/version/list.js.map +0 -1
@@ -1,79 +1,68 @@
1
- # cliDescription
1
+ # summary
2
2
 
3
- create a first-generation package version in the release org
4
- The package version is based on the contents of the specified metadata package. Omit -m if you want to create an unmanaged package version.
3
+ Create a first-generation package version in the release org.
5
4
 
6
- # id
5
+ # description
7
6
 
8
- ID of the metadata package (starts with 033) of which you’re creating a new version
7
+ The package version is based on the contents of the specified metadata package. Omit --managed-released if you want to create an unmanaged package version.
9
8
 
10
- # idLong
9
+ # examples
11
10
 
12
- ID of the metadata package (starts with 033) of which you’re creating a new version.
11
+ - Create a first-generation package version from the package with the specified ID and name the package version "example"; use your default org:
13
12
 
14
- # name
13
+ <%= config.bin %> <%= command.id %> --package-id 033... --name example
15
14
 
16
- package version name
15
+ - Same as previous example, but provide a description and wait for 30 minutes for the package version to be created; use the specified org:
17
16
 
18
- # nameLong
17
+ <%= config.bin %> <%= command.id %> --package-id 033... --name example --description "example description" --wait 30 --target-org myorg@example.com
19
18
 
20
- Package version name.
19
+ # flags.package-id.summary
21
20
 
22
- # description
23
-
24
- package version description
21
+ ID of the metadata package (starts with 033) of which you’re creating a new version.
25
22
 
26
- # descriptionLong
23
+ # flags.name.summary
27
24
 
28
- Package version description.
25
+ Package version name.
29
26
 
30
- # version
27
+ # flags.description.summary
31
28
 
32
- package version in major.minor format, for example, 3.2
29
+ Package version description.
33
30
 
34
- # versionLong
31
+ # flags.version.summary
35
32
 
36
33
  Package version in major.minor format, for example, 3.2.
37
34
 
38
- # releaseNotes
39
-
40
- release notes URL
41
-
42
- # releaseNotesLong
43
-
44
- The release notes URL. This link is displayed in the package installation UI to provide release notes for this package version to subscribers.
45
-
46
- # postInstall
35
+ # flags.release-notes-url.summary
47
36
 
48
- post install URL
37
+ Release notes URL.
49
38
 
50
- # postInstallLong
39
+ # flags.release-notes-url.description
51
40
 
52
- The post-install instructions URL. The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.
41
+ This link is displayed in the package installation UI to provide release notes for this package version to subscribers.
53
42
 
54
- # managedReleased
43
+ # flags.post-install-url.summary
55
44
 
56
- create a managed package version
45
+ Post install URL.
57
46
 
58
- # managedReleasedLong
47
+ # flags.post-install-url.description
59
48
 
60
- Creates a managed package version. To create a beta version, don’t include this parameter.
49
+ The contents of the post-installation instructions URL are displayed in the UI after installation of the package version.
61
50
 
62
- # installationKey
51
+ # flags.managed-release.summary
63
52
 
64
- installation key for key-protected package (default: null)
53
+ Create a managed package version.
65
54
 
66
- # installationKeyLong
55
+ # flags.managed-release.description
67
56
 
68
- Installation key for creating the key-protected package. The default is null.
57
+ To create a beta version, don’t include this parameter.
69
58
 
70
- # wait
59
+ # flags.installation-key.summary
71
60
 
72
- minutes to wait for the package version to be created (default: 2 minutes)
61
+ Installation key for key-protected package (default: null).
73
62
 
74
- # waitLong
63
+ # flags.wait.summary
75
64
 
76
- Minutes to wait for the package version to be created. The default is 2 minutes.
65
+ Minutes to wait for the package version to be created (default: 2 minutes).
77
66
 
78
67
  # uploadFailure
79
68
 
@@ -90,4 +79,4 @@ Successfully uploaded package [%s]
90
79
  # QUEUED
91
80
 
92
81
  PackageUploadRequest has been enqueued. You can query the status using
93
- sfdx force:package1:version:create:get -i %s -u %s
82
+ %s package1:version:create:get -i %s -o %s
@@ -1,24 +1,25 @@
1
- # cliDescription
1
+ # summary
2
2
 
3
- retrieve the status of a package version creation request
3
+ Retrieve the status of a package version creation request.
4
4
 
5
5
  # examples
6
6
 
7
- $ sfdx force:package1:version:create:get -i 0HD...
8
- $ sfdx force:package1:version:create:get -i 0HD... -u devhub@example.com
7
+ - Get the status of the creation request for the package version with the specified ID in your default org:
9
8
 
10
- # requestId
9
+ <%= config.bin %> <%= command.id %> --request-id 0HD...
11
10
 
12
- PackageUploadRequest ID
11
+ - Same as previous example, but use the specified org:
13
12
 
14
- # requestIdLong
13
+ <%= config.bin %> <%= command.id %> --request-id 0HD... --target-org myorg@example.com
15
14
 
16
- The ID of the PackageUploadRequest.
15
+ # flags.request-id.summary
16
+
17
+ ID of the PackageUploadRequest (starts with 0HD).
17
18
 
18
19
  # IN_PROGRESS
19
20
 
20
21
  PackageUploadRequest is still InProgress. You can query the status using
21
- sfdx force:package1:version:create:get -i %s -u %s
22
+ %s package1:version:create:get -i %s -o %s
22
23
 
23
24
  # SUCCESS
24
25
 
@@ -27,7 +28,7 @@ Successfully uploaded package [%s]
27
28
  # QUEUED
28
29
 
29
30
  PackageUploadRequest has been enqueued. You can query the status using
30
- sfdx force:package1:version:create:get -i %s -u %s
31
+ %s package1:version:create:get -i %s -o %s
31
32
 
32
33
  # uploadFailure
33
34
 
@@ -1,15 +1,17 @@
1
- # description
1
+ # summary
2
2
 
3
- display details about a first-generation package version
3
+ Display details about a first-generation package version.
4
4
 
5
- # packageId
5
+ # flags.package-version-id.summary
6
6
 
7
- metadata package version ID (starts with 04t)
7
+ ID (starts with 04t) of the metadata package version whose details you want to display.
8
8
 
9
- # packageIdLong
9
+ # examples
10
10
 
11
- ID (starts with 04t) of the metadata package version whose details you want to display.
11
+ - Display details about the first-generation package version with the specified ID in your default org:
12
+
13
+ <%= config.bin %> <%= command.id %> --package-version-id 04t...
12
14
 
13
- # packageIdInvalid
15
+ - Same as previous example, but use the specified org:
14
16
 
15
- Verify that you entered a valid package version ID (starts with 04t) and try again.
17
+ <%= config.bin %> <%= command.id %> --package-version-id 04t... --target-org myorg@example.com
@@ -1,15 +1,21 @@
1
- # cliDescription
1
+ # summary
2
2
 
3
- list package versions for the specified first-generation package or for the org
3
+ List package versions for the specified first-generation package or for the org.
4
4
 
5
- # packageId
5
+ # flags.package-id.summary
6
6
 
7
- metadata package ID (starts with 033)
7
+ Metadata package ID (starts with 033) whose package versions you want to list.
8
8
 
9
- # packageIdLong
9
+ # flags.package-id.description
10
10
 
11
- Metadata package ID (starts with 033) whose package versions you want to list. If not specified, shows all versions for all packages (managed and unmanaged) in the org.
11
+ If not specified, shows all versions for all packages (managed and unmanaged) in the org.
12
12
 
13
- # packageIdInvalid
13
+ # examples
14
14
 
15
- Verify that you entered a valid package version ID (starts with 033) and try again.
15
+ - List all first-generation package versions in your default org:
16
+
17
+ <%= config.bin %> <%= command.id %>
18
+
19
+ - List package versions for the specified first-generation package in the specifief org:
20
+
21
+ <%= config.bin %> <%= command.id %> --package-id 033... --target-org myorg@example.com
@@ -1,6 +1,8 @@
1
- # cliDescription
1
+ # summary
2
2
 
3
- creates a second-generation package version from a first-generation package
3
+ Create a second-generation package version from a first-generation package.
4
+
5
+ # description
4
6
 
5
7
  The package convert creates a new package in the Dev Hub if one does not already exist for the specified first-generation package.
6
8
 
@@ -8,60 +10,58 @@ It then creates a new package version in the Dev Hub with contents based on the
8
10
 
9
11
  The latest released non-patch package version from the specified first-generation package will be converted.
10
12
 
11
- To retrieve details about a package version create request, including status and package version ID (04t), run "sfdx force:package:version:create:report -i 08c...".
13
+ To retrieve details about a package version create request, including status and package version ID (04t), run "<%= config.bin %> package version create report -i 08c...".
12
14
 
13
- We recommend specifying the --installationkey to protect the contents of your package and to prevent unauthorized installation of your package.
15
+ We recommend specifying the --installation-key to protect the contents of your package and to prevent unauthorized installation of your package.
14
16
 
15
- To list package version creation requests in the org, run "sfdx force:package:version:create:list".
17
+ To list package version creation requests in the org, run "<%= config.bin %> package version create list".
16
18
 
17
19
  # examples
18
20
 
19
- $ sfdx force:package:convert --package 033xx0000004Gmn -k password123
20
-
21
- # package
21
+ - Create a second-generation package version from the first-generation package with the specified ID and give it the installation key "password123"; uses your default Dev Hub org:
22
22
 
23
- ID (starts with 033) of the first-generation package to convert
23
+ <%= config.bin %> <%= command.id %> --package 033... --installation-key password123
24
24
 
25
- # longPackage
25
+ - Similar to previous example, but uses the specified Dev Hub org:
26
26
 
27
- The ID (starts with 033) or alias of the package to convert.
27
+ <%= config.bin %> <%= command.id %> --package 033... --installation-key password123 --target-hub-org devhuborg@example.com
28
28
 
29
- # key
29
+ # flags.package.summary
30
30
 
31
- installation key for key-protected package (either --installationkey or --installationkeybypass is required)
31
+ ID (starts with 033) of the first-generation package to convert.
32
32
 
33
- # longKey
33
+ # flags.installation-key.summary
34
34
 
35
- Installation key for creating the key-protected package. Either an --installationkey value or the --installationkeybypass flag is required.
35
+ Installation key for key-protected package.
36
36
 
37
- # keyBypass
37
+ # flags.installation-key.description
38
38
 
39
- bypass the installation key requirement (either --installationkey or --installationkeybypass is required)
39
+ Either an --installation-key value or the --installation-key-bypass flag is required.
40
40
 
41
- # longKeyBypass
41
+ # flags.installation-key-bypass.summary
42
42
 
43
- 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.
43
+ Bypass the installation key requirement.
44
44
 
45
- # definitionfile
45
+ # flags.installation-key-bypass.description
46
46
 
47
- path to a definition file that contains features and org preferences that the metadata of the package version depends on.
47
+ If you bypass this requirement, anyone can install your package. Either an --installation-key value or the --installation-key-bypass flag is required.
48
48
 
49
- # longDefinitionfile
49
+ # flags.definition-file.summary
50
50
 
51
- The path to a definition file, similar to the scratch org definition file, that contains the list of features and org preferences that the metadata of the package version depends on.
51
+ Path to a definition file that contains features and org preferences that the metadata of the package version depends on.
52
52
 
53
- # wait
53
+ # flags.definition-file.description
54
54
 
55
- minutes to wait for the package version to be created
55
+ This definition file is similar to the scratch org definition file.
56
56
 
57
- # longWait
57
+ # flags.wait.summary
58
58
 
59
- The number of minutes to wait for the package version to be created.
59
+ Minutes to wait for the package version to be created.
60
60
 
61
- # instance
61
+ # flags.build-instance.summary
62
62
 
63
- the instance where the conversion package version will be created——for example, NA50
63
+ Instance where the conversion package version will be created, such as NA50.
64
64
 
65
- # longInstance
65
+ # in-progress
66
66
 
67
- The instance where the conversion package version will be created——for example, NA50.
67
+ Request in progress. Will wait a total of %s more seconds before timing out. Current Status='%s'
@@ -1,76 +1,67 @@
1
- # cliDescription
1
+ # summary
2
2
 
3
- create a package
3
+ Create a package.
4
+
5
+ # description
4
6
 
5
7
  First, use this command to create a package. Then create a package version.
6
8
 
7
- If you don’t have a namespace defined in your sfdx-project.json file, use --nonamespace.
9
+ If you don’t have a namespace defined in your sfdx-project.json file, use --no-namespace.
8
10
 
9
11
  Your --name value must be unique within your namespace.
10
12
 
11
- Run 'sfdx force:package:list' to list all packages in the Dev Hub org.
13
+ Run '<%= config.bin %> package list to list all packages in the Dev Hub org.
12
14
 
13
15
  # examples
14
16
 
15
- $ sfdx force:package:create -n YourPackageName -t Unlocked -r force-app
16
- $ sfdx force:package:create -n YourPackageName -d "Your Package Descripton" -t Unlocked -r force-app
17
+ - Create an unlocked package from the files in the "force-app" directory; uses your default Dev Hub org:
17
18
 
18
- # name
19
+ <%= config.bin %> <%= command.id %> --name MyUnlockedPackage --package-type Unlocked --path force-app
19
20
 
20
- package name
21
+ - Create a managed packaged from the "force-app" directory files, give the package a description, and use the specified Dev Hub org:
21
22
 
22
- # nameLong
23
-
24
- Name of the package to create.
23
+ <%= config.bin %> <%= command.id %> --name MyManagedPackage --description "Your Package Descripton" --package-type Managed --path force-app --target-hub-org devhub@example.com
25
24
 
26
- # orgDependent
25
+ # flags.name.summary
27
26
 
28
- depends on unpackaged metadata in the installation org. Applies to unlocked packages only.
27
+ Name of the package to create.
29
28
 
30
- # orgDependentLong
29
+ # flags.org-dependent.summary
31
30
 
32
- Package depends on unpackaged metadata in the installation org. Applies to unlocked packages only.
33
- Use Source Tracking in Sandboxes to develop your org-dependent unlocked package.
34
- For more information, see "Create Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
31
+ Depends on unpackaged metadata in the installation org; applies to unlocked packages only.
35
32
 
36
- # errorNotificationUsername
33
+ # flags.org-dependent.description
37
34
 
38
- active Dev Hub user designated to receive email notifications for package errors
35
+ Use Source Tracking in Sandboxes to develop your org-dependent unlocked package. For more information, see "Create Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
39
36
 
40
- # errorNotificationUsernameLong
37
+ # flags.error-notification-username.summary
41
38
 
42
- 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.
39
+ Active Dev Hub user designated to receive email notifications for package errors.
43
40
 
44
- # description
41
+ # flags.error-notification-username.description
45
42
 
46
- package description
43
+ Email notifications include information about unhandled Apex exceptions, and install, upgrade, or uninstall failures associated with your package.
47
44
 
48
- # descriptionLong
45
+ # flags.description.summary
49
46
 
50
47
  Description of the package.
51
48
 
52
- # noNamespace
53
-
54
- creates the package with no namespace; available only for unlocked packages.
55
-
56
- # noNamespaceLong
49
+ # flags.no-namespace.summary
57
50
 
58
- 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.
51
+ Create the package with no namespace; available only for unlocked packages.
59
52
 
60
- # packageType
53
+ # flags.no-namespace.description
61
54
 
62
- package type
55
+ This flag is useful when you’re migrating an existing org to packages. But use a namespaced package for new metadata.
63
56
 
64
- # packageTypeLong
57
+ # flags.package-type.summary
65
58
 
66
- Package type for the package.
67
- The options for package type are Managed and Unlocked (Managed=DeveloperManagedSubscriberManaged, Unlocked=DeveloperControlledSubscriberEditable).
68
- These options determine upgrade and editability rules.
59
+ Type of package.
69
60
 
70
- # path
61
+ # flags.package-type.description
71
62
 
72
- path to directory that contains the contents of the package
63
+ The options for package type are Managed and Unlocked (Managed=DeveloperManagedSubscriberManaged, Unlocked=DeveloperControlledSubscriberEditable). These options determine upgrade and editability rules.
73
64
 
74
- # longPath
65
+ # flags.path.summary
75
66
 
76
- The path to the directory that contains the contents of the package.
67
+ Path to directory that contains the contents of the package.
@@ -1,6 +1,8 @@
1
- # cliDescription
1
+ # summary
2
2
 
3
- delete a package
3
+ Delete a package.
4
+
5
+ # description
4
6
 
5
7
  Specify the ID or alias of the package you want to delete.
6
8
 
@@ -8,46 +10,39 @@ Delete unlocked and second-generation managed packages. Before you delete a pack
8
10
 
9
11
  # examples
10
12
 
11
- $ sfdx force:package:delete -p "Your Package Alias"
12
- $ sfdx force:package:delete -p 0Ho...
13
-
14
- # package
13
+ - Delete a package using its alias from your default Dev Hub org:
15
14
 
16
- ID (starts with 0Ho) or alias of the package to delete
15
+ <%= config.bin %> <%= command.id %> --package "Your Package Alias"
17
16
 
18
- # packageLong
17
+ - Delete a package using its ID from the specified Dev Hub org:
19
18
 
20
- The ID (starts with 0Ho) or alias of the package to delete.
19
+ <%= config.bin %> <%= command.id %> --package 0Ho... --target-hub-org devhub@example.com
21
20
 
22
- # undelete
21
+ # flags.package.summary
23
22
 
24
- undelete a deleted package
23
+ ID (starts with 0Ho) or alias of the package to delete.
25
24
 
26
- # undeleteLong
25
+ # flags.undelete.summary
27
26
 
28
27
  Undelete a deleted package.
29
28
 
30
- # noPrompt
31
-
32
- don’t prompt before deleting the package
33
-
34
- # noPromptLong
29
+ # flags.no-prompt.summary
35
30
 
36
31
  Don’t prompt before deleting the package.
37
32
 
38
- # promptDelete
33
+ # prompt-delete
39
34
 
40
35
  Deleted packages can’t be recovered.
41
36
 
42
37
  Do you want to continue? (y/n)
43
38
 
44
- # promptUndelete
39
+ # prompt-undelete
45
40
 
46
41
  This will undelete the package, which may result in unintended consequences for customers. Proceed with caution.
47
42
 
48
43
  Do you want to continue? (y/n)
49
44
 
50
- # promptDeleteDeny
45
+ # prompt-delete-deny
51
46
 
52
47
  The request to delete this package was canceled
53
48
 
@@ -1,35 +1,41 @@
1
- # cliDescription
1
+ # summary
2
2
 
3
- display the ancestry tree for a 2GP managed package version
3
+ Display the ancestry tree for a 2GP managed package version.
4
4
 
5
5
  # examples
6
6
 
7
- $ sfdx force:package:version:displayancestry -p package_version_alias
8
- $ sfdx force:package:version:displayancestry -p package_version_alias --dotcode
9
- $ sfdx force:package:version:displayancestry -p OHo...
10
- $ sfdx force:package:version:displayancestry -p 04t...
7
+ - Display the ancestry tree for a package version with the specified alias, using your default Dev Hub org:
11
8
 
12
- # package
9
+ <%= config.bin %> <%= command.id %> --package package_version_alias
13
10
 
14
- ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for
11
+ - Similar to previous example, but display the output in DOT code:
15
12
 
16
- # packageLong
13
+ <%= config.bin %> <%= command.id %> --package package_version_alias --dot-code
17
14
 
18
- 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.
19
- If you specify a package version (starts with 04t) or alias, the ancestry tree of the specified package version is displayed.
15
+ - Display the ancestry tree for a package with the specified ID, using the Dev Hub org with username devhub@example.com:
20
16
 
21
- # dotcode
17
+ <%= config.bin %> <%= command.id %> --package OHo... --target-hub-org devhub@example.com
22
18
 
23
- display the ancestry tree in DOT code
19
+ - Display the ancestry tree of a package version with the specified ID, using your default Dev Hub org:
24
20
 
25
- # dotcodeLong
21
+ <%= config.bin %> <%= command.id %> --package 04t...
26
22
 
27
- Displays the ancestry tree in DOT code. You can use the DOT code output in graph visualization software to create tree visualizations.
23
+ # flags.package.summary
28
24
 
29
- # verbose
25
+ ID or alias of the package (starts with 0Ho) or package version (starts with 04t) to display ancestry for.
30
26
 
31
- display both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree
27
+ # flags.package.description
32
28
 
33
- # verboseLong
29
+ 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. If you specify a package version (starts with 04t) or alias, the ancestry tree of the specified package version is displayed.
34
30
 
35
- Displays both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree.
31
+ # flags.dot-code.summary
32
+
33
+ Display the ancestry tree in DOT code.
34
+
35
+ # flags.dot-code.description
36
+
37
+ You can use the DOT code output in graph visualization software to create tree visualizations.
38
+
39
+ # flags.verbose.summary
40
+
41
+ Display both the package version ID (starts with 04t) and the version number (major.minor.patch.build) in the ancestry tree.