Skip to content

Commit 74a16a0

Browse files
docs: renamed bundles -> bundle
additionally updates messages
1 parent 3147864 commit 74a16a0

5 files changed

Lines changed: 13 additions & 98 deletions

File tree

messages/bundle_create.md

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

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

55
# description
66

7-
First, use this command to create a bunle. Then create a bundle version.
8-
9-
Your --name value must be unique within your namespace.
10-
11-
Run '<%= config.bin %> bundle list to list all bundles in the Dev Hub org.
7+
A package bundle is an artifact that contains one or more 2GP managed packages.
8+
A bundle can be listed on AppExchange, installed, or upgraded as a single artifact.
129

1310
# examples
1411

15-
- Default Use Case
16-
<%= config.bin %> <%= command.id %> --name <bundle_name> --description "<bundle_description>" --target-dev-hub <dev_hub_alias>`
12+
Create a package bundle in the Dev Hub org; uses the Dev Hub org with the username devhub@example.com:
13+
14+
sf package bundle create --name “Your bundle name” --description "Your bundle description" --target-dev-hub devhub@example.com
1715

1816
# flags.name.summary
1917

20-
Name of the bundle to create.
18+
Name of the package bundle.
2119

2220
# flags.description.summary
2321

24-
Description of the bundle
22+
Description of the package bundle.

messages/bundle_list.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
# summary
22

3-
List all bundles in the Dev Hub org.
4-
5-
# description
6-
7-
You can view the namespace, IDs, and other details for each bundle.
3+
List all package bundles in the Dev Hub org.
84

95
# examples
106

11-
- List all bundles in the specified Dev Hub org:
12-
13-
<%= config.bin %> <%= command.id %> --target-dev-hub devhub@example.com
14-
15-
- List all bundles details in the specified Dev Hub org, and show extended details about each bundle:
7+
List all package bundles in the specified Dev Hub org; uses the Dev Hub org with the username devhub@example.com:
168

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

1911
# namespace
2012

@@ -30,7 +22,7 @@ Id
3022

3123
# bundle-id
3224

33-
Subscriber bundle Id
25+
Package Bundle Id
3426

3527
# alias
3628

schemas/package-bundles-create.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

schemas/package-bundles-list.json

Lines changed: 0 additions & 58 deletions
This file was deleted.

src/commands/package/bundle/list.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export type BundleListCommandResults = BundleListCommandResult[];
2121

2222
export class BundleListCommand extends SfCommand<BundleListCommandResults> {
2323
public static readonly summary = messages.getMessage('summary');
24-
public static readonly description = messages.getMessage('description');
2524
public static readonly examples = messages.getMessages('examples');
2625
public static readonly deprecateAliases = true;
2726
public static readonly aliases = ['force:package:bundle:list'];
@@ -44,7 +43,7 @@ export class BundleListCommand extends SfCommand<BundleListCommandResults> {
4443

4544
private displayResults(results: BundleListCommandResults, verbose = false): void {
4645
const data = results.map((r) => ({
47-
'Bundle Name': r.BundleName,
46+
'Package Bundle Name': r.BundleName,
4847
Id: r.Id,
4948
Description: r.Description,
5049
...(verbose

0 commit comments

Comments
 (0)