Skip to content

Commit e4f26fb

Browse files
committed
feat: update help text to indicate this is currently for only conversion 2GPs
1 parent a28143e commit e4f26fb

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

messages/package_version_retrieve.md

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

3-
Retrieve package metadata for a specified package version.
3+
Retrieve package metadata for a specified package version. Package metadata can be retrieved for converted second-generation managed package versions only.
44

55
# description
66

77
Retrieving a package version downloads the metadata into the directory you specify.
88

9-
You can retrieve metadata for a second-generation managed package or an unlocked package.
10-
119
Specify the subscriber package version ID (starts with 04t) and the path to an empty directory when you run this command.
1210

1311
# examples
1412

15-
- Retrieve package metadata for a subscriber package version ID (starts with 04t) into my-folder/ within your Salesforce DX project directory:
16-
17-
<%= config.bin %> <%= command.id %> --package 04t... --output-dir my-folder –-target-org my-scratch
13+
- Retrieve package metadata for a converted subscriber package version ID (starts with 04t) into my-folder/ within your Salesforce DX project directory:
1814

19-
If you omit --target-org, this command runs against your default org.
15+
<%= config.bin %> <%= command.id %> --package 04t... --output-dir my-folder –-target-dev-hub my-devhub
2016

2117
# flags.package.summary
2218

0 commit comments

Comments
 (0)