Skip to content

Commit a9e351c

Browse files
authored
Merge pull request #1095 from salesforcecli/j-nolasco-edit-package-bundle-messages
W-20511663: Update help text for package bundle commands and flags
2 parents 84a512d + 26ed3d6 commit a9e351c

12 files changed

Lines changed: 86 additions & 97 deletions

messages/bundle_create.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
# summary
22

3-
Create a package bundle in the Dev Hub org.
3+
Create a package bundle in the Dev Hub org.
44

55
# description
66

7-
A package bundle is an artifact that contains one or more 2GP managed packages.
8-
A bundle can be installed or upgraded as a single artifact.
7+
A package bundle is an artifact composed of one or more 2GP managed packages. With a package bundle, you can develop, install, upgrade, and manage multiple packages as a single unit.
98

109
# examples
1110

12-
Create a package bundle in the Dev Hub org; uses the Dev Hub org with the username devhub@example.com:
11+
- Create a package bundle in the Dev Hub org; uses the Dev Hub org with the username devhub@example.com:
1312

14-
sf package bundle create --name "Your bundle name" --description "Your bundle description" --target-dev-hub devhub@example.com
13+
<%= config.bin %> <%= command.id %> --name "Your bundle name" --description "Your bundle description" --target-dev-hub devhub@example.com
1514

1615
# flags.name.summary
1716

@@ -23,11 +22,11 @@ Description of the package bundle.
2322

2423
# flags.wait.summary
2524

26-
Number of minutes to wait for the bundle creation to complete.
25+
Number of minutes to wait for the package bundle to be created.
2726

2827
# flags.verbose.summary
2928

30-
Display extended bundle creation detail.
29+
Display extended details about the package bundle creation.
3130

3231
# requestInProgress
3332

messages/bundle_install.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,44 @@
11
# summary
22

3-
Install a package bundle version in the target org.
3+
Install a specific version of a package bundle in the target org.
44

55
# description
66

7-
Install a specific version of a package bundle in the target org. During developer preview, bundles can be installed only in scratch orgs.
7+
During developer preview, package bundles can be installed only in scratch orgs. To install a package bundle in a scratch org, add the PackageBundles feature to the scratch org definition file.
88

9-
# examples
9+
# examples
1010

11-
- Install a package bundle version in a scratch org:
11+
- Install a package bundle version in a scratch org and wait 10 minutes for the installation to complete:
1212

13-
<%= config.bin %> <%= command.id %> --bundle MyPkgBundle1@0.1 --target-org my-scratch-org --dev-hub-org 00Dxx0000000000 --wait 10
14-
15-
- Install using a bundle version ID:
16-
17-
<%= config.bin %> <%= command.id %> --bundle 1Q8Wt0000000q1pKAA --target-org my-scratch-org --dev-hub-org 00Dxx0000000000 --wait 10
13+
<%= config.bin %> <%= command.id %> --bundle MyPkgBundle1@0.1 --target-org my-scratch-org --dev-hub-org devhub@example.com --wait 10
1814

1915
# flags.bundle.summary
2016

21-
Package bundle version to install (format: BundleName@Version or bundle version ID).
17+
Package bundle version to install. The valid format is BundleName@VersionNumber, such as "MyPkgBundle@0.1".
2218

2319
# flags.target-org.summary
2420

25-
Target org for the bundle installation.
21+
Username or alias of the org in which to install the package bundle version. Not required if the `target-org` configuration variable is already set.
2622

2723
# flags.dev-hub-org.summary
2824

2925
Org ID of the Dev Hub org where the bundle was created.
3026

3127
# flags.dev-hub-org.description
3228

33-
Specify the Dev Hub org ID directly (such as 00Dxx0000000000).
29+
Enter the Dev Hub org ID, such as 00Dxx0000000000.
3430

3531
# flags.wait.summary
3632

3733
Number of minutes to wait for the installation to complete.
3834

3935
# flags.verbose.summary
4036

41-
Display extended installation detail.
37+
Display extended details about the installation.
4238

4339
# requestInProgress
4440

45-
Installing bundle.
41+
Installing package bundle.
4642

4743
# bundleInstallWaitingStatus
4844

messages/bundle_install_list.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ Shows the details of each request to install a package bundle version in the tar
88

99
All filter parameters are applied using the AND logical operator (not OR).
1010

11-
To get information about a specific request, run "<%= config.bin %> package bundle install report" and supply the request ID.
11+
To get information about a specific request, run "<%= config.bin %> package bundle install report" and enter the request ID.
1212

1313
# flags.status.summary
1414

1515
Status of the installation request, used to filter the list.
1616

1717
# flags.verbose.summary
1818

19-
Displays additional information at a slight performance cost, such as validation text for each package bundle install request.
19+
Display additional information, such as the validation text for each package bundle installation request.
2020

2121
# flags.created-last-days.summary
2222

23-
Number of days since the request was created, starting at 00:00:00 of first day to now. Use 0 for today.
23+
Number of days since the request was created, starting at 0. Use 0 for today.
2424

2525
# examples
2626

@@ -30,17 +30,17 @@ Number of days since the request was created, starting at 00:00:00 of first day
3030

3131
- List package bundle installation requests from the last 3 days in the Dev Hub org with username devhub@example.com:
3232

33-
<%= config.bin %> <%= command.id %> --created-last-days 3 --target-dev-hub
33+
<%= config.bin %> <%= command.id %> --created-last-days 3 --target-dev-hub devhub@example.com
3434

35-
- List package bundle installation requests with status Error:
35+
- List package bundle installation requests with the Error status:
3636

3737
<%= config.bin %> <%= command.id %> --status Error
3838

39-
- List package bundle installation requests with status Queued:
39+
- List package bundle installation requests with the Queued status:
4040

4141
<%= config.bin %> <%= command.id %> --status Queued
4242

43-
- List package bundle installation requests with status Success that were created today:
43+
- List package bundle install requests from today with the Success status:
4444

4545
<%= config.bin %> <%= command.id %> --created-last-days 0 --status Success
4646

messages/bundle_install_report.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,17 @@ Report on the status of a package bundle installation request.
44

55
# description
66

7-
Use this command to check the status of a package bundle installation request. The command returns information about the request, including its current status and details about the package bundle version being installed.
7+
The command returns information such as the current status of the request and details about the package bundle version being installed.
88

9-
# examples
9+
# examples
1010

1111
- Report on a package bundle installation request:
1212

1313
<%= config.bin %> <%= command.id %> --package-install-request-id 0Ho0x0000000000000
1414

15-
- Report on a package bundle installation request using an alias:
16-
17-
<%= config.bin %> force:package:bundle:install:report -i 0Ho0x0000000000000
18-
1915
# flags.package-install-request-id.summary
2016

21-
The ID of the package bundle installation request to report on.
17+
ID of the package bundle installation request to report on.
2218

2319
# id
2420

@@ -38,9 +34,9 @@ Development Organization
3834

3935
# validation-error
4036

41-
Validation Error
37+
Validation Error
4238

43-
# created-date
39+
# created-date
4440

4541
Created Date
4642

messages/bundle_list.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,42 @@ List all package bundles in the Dev Hub org.
44

55
# examples
66

7-
List all package bundles in the specified Dev Hub org; uses the Dev Hub org with the username devhub@example.com:
7+
- List all package bundles in the Dev Hub org with the username `devhub@example.com`:
88

9-
sf package bundle list --target-dev-hub <dev_hub_alias>
9+
<%= config.bin %> <%= command.id %> --target-dev-hub devhub@example.com
1010

11-
# namespace
11+
# namespace
1212

13-
Namespace Prefix
13+
Namespace Prefix
1414

1515
# name
1616

1717
Name
1818

1919
# id
2020

21-
Id
21+
ID
2222

2323
# bundle-id
2424

25-
Package Bundle Id
25+
Package Bundle ID
2626

2727
# alias
2828

29-
Alias
29+
Alias
3030

3131
# description
3232

3333
Description
3434

3535
# flags.verbose.summary
3636

37-
Display extended bundle detail.
37+
Display extended details about the package bundles.
3838

3939
# error-notification-username
4040

4141
Error Notification Username
4242

4343
# createdBy
4444

45-
Created By
45+
Created By

messages/bundle_version_create.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,29 @@ Create a new package bundle version.
44

55
# description
66

7-
Create a new version of a package bundle with the specified components.
7+
Before you create a new bundle version, create a definition file (similar to a scratch org definition file) that contains the list of package versions to include in the bundle. The definition file must be JSON and you must specify the package versions in the correct order of installation. The package bundle version is based on package versions listed in the definition file.
88

9+
After the first bundle version that you create, make sure to update the version number in the sfdx-project.json file for subsequent bundle versions.
10+
11+
To retrieve details about a package bundle version create request, including status and package bundle version ID (04t), run "sf package version create report -i 08c...".
12+
913
# examples
1014

11-
Create a new version of a package bundle:
15+
- Create a package bundle version in the Dev Hub org; uses the Dev Hub org with the username devhub@example.com:
1216

13-
sf package bundle version create -b MyBundle -p path/to/definition.json
17+
<%= config.bin %> <%= command.id %> --bundle “Your bundle name” --definition-file resources/definition.json --target-dev-hub devhub@example.com
1418

1519
# flags.bundle.summary
1620

17-
The name or ID of the package bundle to create a version for.
21+
Name or ID of the package bundle to create a version for.
1822

1923
# flags.definition-file.summary
2024

21-
Path to the JSON file containing the list of components to include in the bundle version.
25+
Path to a definition file, similar to a scratch org definition file, that contains the list of package versions to include in the bundle.
2226

2327
# flags.wait.summary
2428

25-
Number of minutes to wait for the command to complete before timing out.
29+
Number of minutes to wait for the package bundle version to be created.
2630

2731
# flags.verbose.summary
2832

@@ -46,29 +50,29 @@ Waiting for bundle version creation to complete. %s minutes remaining. Current s
4650

4751
# bundleVersionCreateFinalStatus
4852

49-
Package Bundle version creation completed with status: %s
53+
Package bundle version creation completed with status: %s
5054

5155
# multipleErrors
5256

53-
The following errors occurred during bundle version creation:
57+
The following errors occurred during package bundle version creation:
5458
%s
5559

5660
# InProgress
5761

58-
Bundle version creation is %s. Use 'sf package bundle version create report -i %s' to check the status later.
62+
Package bundle version creation is %s. Use "sf package bundle version create report -i %s" to check the status later.
5963

6064
# requestInProgress
6165

62-
Creating bundle version...
66+
Creating package bundle version...
6367

6468
# packageVersionCreateFinalStatus
6569

66-
Package Bundle version creation completed with status: %s
70+
Package bundle version creation completed with status: %s
6771

6872
# packageVersionCreatePerformingValidations
6973

7074
Performing validations on the package bundle version...
7175

7276
# bundleVersionCreateSuccess
7377

74-
Successfully created bundle version for bundle %s
78+
Successfully created package bundle version for bundle %s

messages/bundle_version_create_list.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,43 +8,43 @@ Shows the details of each request to create a package bundle version in the Dev
88

99
All filter parameters are applied using the AND logical operator (not OR).
1010

11-
To get information about a specific request, run "<%= config.bin %> package bundle version create report" and supply the request ID.
11+
To get information about a specific request, run "<%= config.bin %> package bundle version create report" and enter the request ID.
1212

1313
# flags.status.summary
1414

15-
Status of the version creation request, used to filter the list.
15+
Status of the installation request, used to filter the list.
1616

1717
# flags.show-conversions-only.summary
1818

19-
Filter the list output to display only converted package bundle version.
19+
Filter the list to display only converted package bundle versions.
2020

2121
# flags.verbose.summary
2222

23-
Displays additional information at a slight performance cost, such as the version name and number for each package version create request.
23+
Display additional information, such as the version name and number for each package bundle version creation request.
2424

2525
# flags.created-last-days.summary
2626

27-
Number of days since the request was created, starting at 00:00:00 of first day to now. Use 0 for today.
27+
Number of days since the request was created, starting at 0. Use 0 for today.
2828

2929
# examples
3030

3131
- List all package bundle version creation requests in your default Dev Hub org:
3232

3333
<%= config.bin %> <%= command.id %>
3434

35-
- List package bundle version creation requests from the last 3 days in the Dev Hub org with username devhub@example.com:
35+
- List package bundle version creation requests from the last three days in the Dev Hub org with the username devhub@example.com:
3636

37-
<%= config.bin %> <%= command.id %> --created-last-days 3 --target-dev-hub
37+
<%= config.bin %> <%= command.id %> --created-last-days 3 --target-dev-hub devhub@example.com
3838

39-
- List package bundle version creation requests with status Error:
39+
- List package bundle version creation requests with the Error status:
4040

4141
<%= config.bin %> <%= command.id %> --status Error
4242

43-
- List package bundle version creation requests with status Queued:
43+
- List package bundle version creation requests with the Queued status:
4444

4545
<%= config.bin %> <%= command.id %> --status Queued
4646

47-
- List package bundle version creation requests with status Success that were created today:
47+
- List package bundle version creation requests from today with the Success status:
4848

4949
<%= config.bin %> <%= command.id %> --created-last-days 0 --status Success
5050

@@ -58,16 +58,16 @@ Status
5858

5959
# package-id
6060

61-
Package Bundle Id
61+
Package Bundle ID
6262

6363
# packageVersionId
6464

65-
Package Bundle Version Id
65+
Package Bundle Version ID
6666

6767
# createdBy
6868

6969
Created By
7070

7171
# convertedFromVersionId
7272

73-
Converted From Version Id
73+
Converted From Version ID

0 commit comments

Comments
 (0)