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:
Options | Purpose |
---|---|
-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, --list | Use to see the list of all environments added via this plugin and/or the Release UI. |
-m, --manage | Use 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, --print | Use to see a standardized-format list of all environments added via this plugin and/or the Release UI. |
-s, --version | Use to create a VCS repository branch, merge data from main into it, and deploy the data to the Salesforce environment. |
-x, --unmanage | Use to make the Salesforce environment unavailable to Release and the other CLI plugin commands. |
-–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:manage -l -p | List and print all of the managed instances for the Prodly account associated with the default DevHub control org. |
| Manage the org associated with the target username under the Prodly account associated with the provided DevHub control org. |
| Manage and version the org associated with the target username under the Prodly account associated with the default DevHub control org. |