prodly:checkout
To deploy data from a VCS repository branch to a Salesforce environment, enter this command at the command line prompt in your Salesforce CLI command shell:
$ sf prodly:checkout [OPTIONS]
Usage:
$ sf prodly:checkout -v <value> -o <value> [--json] [-b <value>] [-t <value>] [-e] [-i <value>] [-n <value>] [-z <value>] [-p <value>]
This table lists all the available options:
Options | Purpose |
---|---|
-b, --branch=<value> | Use to specify the branch name for deployment. |
-e, --deactivate | Use to temporarily deactivate all events Prodly has permission to deactivate. |
-i, --instance=<value> | Use to specify the destination sf environment instance ID to deploy the data from its associated VCS repository branch to. |
-n, --name=<value> | Use to specify the deployment name. |
-t, --dataset=<value> | Name or record ID of the data set to deploy. |
-p, --plan=<value> | Name or record ID of the deployment plan to deploy. |
-o, --target-org=<value> | Use to specify the username or alias of the destination environment, overriding any default scratch org you specified in the optional setup steps. Not required if the default value is already set. |
-v, | Use to specify the username or alias of the dev hub org, overriding any dev hub org you specified in the optional setup steps. Not required if the default value is already set. |
-z, --notes=<value> | Use to include deployment notes. |
--json | Use to receive an output response. When included, the response is in JSON format. When not included, no response is given. |
–-apiversion=<value> | Use to override the API version used for API requests made by this command. |
–-loglevel=<value> | Use to specify the logging level for this command invocation with one of these levels:errorwarninfodebugtracefatalFor details, refer to https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_dev_cli_log_messages.htm. |
Examples
Command | Result |
---|---|
$ sf prodly:checkout --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com | Saves managed data to the branch associated with the managed instance identified by the destination username. The instance should be managed by the Prodly account associated with the provided DevHub control org. |
$ sf prodly:checkout --target-org test-utxac7gbati9@example.com | Saves managed data to the branch associated with the managed instance identified by the destination username. The instance should be managed by the Prodly account associated with the default DevHub control org. |
$ sf prodly:checkout -i f50616b6-57b1-4941-802f-ee0e2506f217 | Saves managed data to the branch associated with the managed instance identified by the provided ID. The instance should be managed by the Prodly account associated with the default DevHub control org. |