Skip to main content

CloudBlue Connect Command Line Interface

Project description

CloudBlue Connect Command Line Interface

pyversions PyPi Status PyPI - Downloads Docker Pulls GitHub Workflow Status Coverage Quality Gate Status

Introduction

The CloudBlue Connect Command Line Interface (CLI) is an extensible unified tool to perform various automation scenarios. With just one tool, you can control multiple Connect modules from the command line and automate them through scripts.

Since it is extensible, users can write their own plugins to extend its functionalities.

Install

Prerequisites

connect-cli depends on Git, Cairo, Pango and GDK-PixBuf.

Please refers to the platform-specific instructions on how to install these dependecies:

Using PIP

To use connect-cli you need a system with python 3.8 or later installed.

    $ pip install --upgrade connect-cli

Using Docker

To use the Docker image of connect-cli:

    $ docker run -it -v $HOME/.ccli:/home/connect/.ccli cloudblueconnect/connect-cli ccli

Please refer to the connect-cli docker image documentation for more information.

Using Homebrew on Mac OS

To install connect-cli with homebrew run:

    $ brew update
    $ brew tap cloudblue/connect
    $ brew install cloudblue/connect/connect-cli

Using the installer on Windows

An installer package is available for Windows 10 or newer. You can download its zip file from the Github Releases page.

Usage

Development

We use isort library to order and format our imports, and we check it using flake8-isort library (automatically on flake8 run).
For convenience you may run poetry run isort . to order imports.

Run tests

connect-cli uses poetry for dependencies management and packaging.

To run the connect-cli tests suite run:

$ pip install poetry
$ poetry install
$ poetry run pytest

License

connect-cli is released under the Apache License Version 2.0.

Project details


Release history Release notifications | RSS feed

This version

31.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

connect_cli-31.0.tar.gz (1.1 MB view hashes)

Uploaded Source

Built Distribution

connect_cli-31.0-py3-none-any.whl (1.3 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page