List all packages in the Dev Hub org.
Description for package list
Description
Aliases for package list
force:package:list
Flags
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
| <code>‑‑api‑version</code> | N/A | Type: Value<br><br>Override the api version used for api requests made by this command |
| <code>‑‑flags‑dir</code> | N/A | Type: Value<br><br>Import flag values from a directory. |
| <code>‑‑json</code> | N/A | Type: Boolean<br><br>Format output as json. |
| <code>‑‑target‑dev‑hub</code> | <code>‑v</code> | Type: Value<br>Required<br><br>Username or alias of the Dev Hub org. Not required if the target-dev-hub configuration variable is already set. |
| <code>‑‑verbose</code> | N/A | Type: Boolean<br><br>Display extended package detail. |
Examples for package list
List all packages in the specified Dev Hub org:
sf package list --target-dev-hub devhub@example.com
List all packages details in the specified Dev Hub org, and show extended details about each package:
sf package list --target-dev-hub devhub@example.com --verbose
<!-- prettier-ignore-end -->