package version list
List all package versions in the Dev Hub org.
Description
force:package:version:list
| 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 |
‑‑branch | ‑b | Type: Value Branch in your source control system used to filter the results; only package versions based on the specified branch are listed. |
‑‑concise | N/A | Type: Boolean Display limited package version details. |
‑‑created‑last‑days | ‑c | Type: Value Number of days since the request was created, starting at 00:00:00 of first day to now. Use 0 for today. |
‑‑flags‑dir | N/A | Type: Value Import flag values from a directory. |
‑‑json | N/A | Type: Boolean Format output as json. |
‑‑modified‑last‑days | ‑m | Type: Value Number of days since the items were modified, starting at 00:00:00 of first day to now. Use 0 for today. |
‑‑order‑by | ‑o | Type: Value Package version fields used to order the list. |
‑‑packages | ‑p | Type: Value Comma-delimited list of packages (aliases or 0Ho IDs) to list. |
‑‑released | ‑r | Type: Boolean Display released versions only (IsReleased=true). |
‑‑show‑conversions‑only | N/A | Type: Boolean Filter the list output to display only converted package version. |
‑‑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. |
List package versions in your default Dev Hub org that were created in the last 3 days; show only the released versions and order the list using the PatchVersion field. Display extended details about each package version:
List the released package versions for the two specified packages that were modified today; use the Dev Hub org with username devhub@example.com:
List all released package versions in your default Dev Hub org:
List package versions that were modified today in your default Dev Hub org; show limited details about each one:
List package versions that are based on the “featureA” branch in your source control system that were modified today in your default Dev Hub org; show limited details about each one:
List released package versions that were created in the last 3 days in your default Dev Hub org; show limited details:
List released package versions that were modified today for the two packages with specified aliases in your default Dev Hub org: