@copado/copado-cli
v3.5.0
Published
Copado Developer CLI
Downloads
2,266
Readme
Copado CLI
The Copado CLI is a Salesforce CLI plugin. This tool allows you to execute Copado-related tasks from an IDE/Terminal and leverage Git and Salesforce commands, Agile or issue tracking tools, such as Jira, and user story automation, among other things.
Let’s see how you can configure the CLI and start working with it.
Requirements and Set Up
Requirements
In order to start using the Copado CLI, you need the following elements:
- Salesforce User and Managed Package licenses.
- Copado Winter '20 (v15).
- Copado org credential.
- Copado license.
- Branch management pipeline.
- Salesforce CLI.
- Git
Installation
First of all, you need to download and install Salesforce CLI, as Copado CLI is a Salesforce CLI plugin.
Insert the following command to install the Copado plugin:
sfdx plugins:install @copado/copado-cli
During the installation process, both plugin and dependencies will be installed.
Link your Salesforce CLI with your Copado CLI using this command:
sfdx copado:auth:set -u [[email protected]]
Where the username is the org credential you have already authenticated in Copado. You can use this command to authenticate the org where you have Copado installed.
sfdx force:auth:web:login
You can authenticate multiple orgs to work with the CLI and then use the command
sfdx force:org:list
In order to get the list of orgs that have been authenticated and their corresponding org Id.
Now that you know what the Copado CLI is and how you can set it up, take a look at our CLI Commands article to learn more about the actions you can perform with the CLI.