package version report
Retrieve details about a package version in the Dev Hub org.
To update package version values, run “sf package version update”.
force:package:version:report
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
--api-version | N/A | Type: Value Override the api version used for api requests made by this command |
--flags-dir | N/A | Type: Value Import flag values from a directory. |
--json | N/A | Type: Boolean Format output as json. |
--package | -p | Type: Value Required ID (starts with 04t) or alias of the package to retrieve details for. |
--target-dev-hub | -v | Type: Value Required Username or alias of the Dev Hub org. Not required if the target-dev-hub configuration variable is already set. |
--verbose | N/A | Type: Boolean Display extended package version details. |
Retrieve details about the package version with the specified ID from your default Dev Hub org:
Retrieve details about the package version with the specified alias (that contains spaces) from the Dev Hub org with username devhub@example.com: