org create shape
Create a scratch org configuration (shape) based on the specified source org.
Scratch org shapes mimic the baseline setup (features, limits, edition, and Metadata API settings) of a source org without the extraneous data and metadata.
Run “sf org list shape” to view the available org shapes and their IDs.
To create a scratch org from an org shape, include the “sourceOrg” property in the scratch org definition file and set it to the org ID of the source org. Then create a scratch org with the “sf org create scratch” command.
force:org:shape:create
| 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. |
‑‑target‑org | ‑o | Type: Value Required Username or alias of the target org. Not required if the target-org configuration variable is already set. |
Create an org shape for the source org with alias SourceOrg: