Prodly:Manage

prodly:manage

To authorize (or unauthorize) a Salesforce environment (not already added to the Environments page in Release tab) for use by the plugin, enter this command at the command line prompt in your Salesforce CLI command shell:

$ sf prodly:manage INSTRUCTIONS [ENVIRONMENTS] [OPTIONS]

Usage:

$ sf prodly:manage -v <value> -o <value> [--json] [-c <value>] [-n <value>] [-i <value>] [-b <value>] [-l] [-m] [-p] [-x] [-s]

This table lists all the available options:

OptionsPurpose
-b, --label=<value>Use to specify a nickname for the environment.
-c, --comment=<value>Use to include a VCS commit message.
-i, --instance=<value>Use to specify the Salesforce environment ID on which to perform the action.
-l, --listUse to see the list of all environments added via this plugin and/or the Release UI.
-m, --manageUse to make the Salesforce environment available to Release and the other CLI plugin commands.
-n, --connection=<value>Use to specify the connection record to use to access the Salesforce environment.
-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, --target-dev-hub=<value>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.
-p, --printUse to see a standardized-format list of all environments added via this plugin and/or the Release UI.
-s, --versionUse to create a VCS repository branch, merge data from main into it, and deploy the data to the Salesforce environment.
-x, --unmanageUse to make the Salesforce environment unavailable to Release and the other CLI plugin commands.
-–jsonUse 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

CommandResult
$ sf prodly:manage -l -pList and print all of the managed instances for the Prodly account associated with the default DevHub control org.
$ sf prodly:manage -m --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.comManage the org associated with the target username under the Prodly account associated with the provided DevHub control org.
$ sf prodly:manage -m --target-org test-utxac7gbati9@example.com -n dev7sbxManage and version the org associated with the target username under the Prodly account associated with the default DevHub control org.