Command Line Interface

Updated 1 week ago by Copado Solutions

Command Line Interface for the Copado Webhook API

With this simple program you will be able to start a Copado job and wait for its completion. The process will exit gracefully if the job was successful or fail exit(1) otherwise.

Installation

  1. Download copado.py or clone this github repository.

Prerequisites

  1. Webhook URL: Review Webhook API.
  2. API Key: In order for the plugin to start the job and check on the status (via the Copado Webhook API), it requires an API key. To create an API key, login to your Copado account and navigate to the Account Summary tab, and finally to the API Key sub-tab.

Usage

  1. Open your console.
  2. Type in: $>python copado.py -url URL
  3. In the URL parameter, paste the Webhook URL and make sure that Salesforce ids and API key parameters are set.


How did we do?