CloudBlue Connect Command Line Interface
Project description
CloudBlue Connect Command Line Interface
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 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 (Mac OS X only)
To install connect-cli
with homebrew run:
$ brew update
$ brew tap cloudblue/connect
$ brew install cloudblue/connect/connect-cli
Binary distributions
A single executable binary distribution is available for windows, linux and mac os x. You can it from the Github Releases page.
To install under linux:
$ curl -O -J https://github.com/cloudblue/connect-cli/releases/download/xx.yy/connect-cli_xx.yy_linux_amd64.tar.gz
$ tar xvfz connect-cli_xx.yy_linux_amd64.tar.gz
$ sudo cp dist/ccli /usr/local/bin/ccli
To install under Mac OS X:
$ curl -O -J https://github.com/cloudblue/connect-cli/releases/download/xx.yy/connect-cli_xx.yy_osx_amd64.tar.gz
$ tar xvfz connect-cli_xx.yy_osx_amd64.tar.gz
$ sudo cp dist/ccli /usr/local/bin/ccli
If your user is not a sudoer, you can copy the
ccli
executable from the dist directory to a directory of your choice that is listed in thePATH
variable.
To install under Windows
Download the windows single executable zipfile from Github Releases, extract it and place it in a folder that is included in your PATH
system variable.
Usage
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for connect_cli-24.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 805435dab47811e622c70783a33b818b22fd822adaa64b3058782bb151f780d2 |
|
MD5 | 22bc2399f1af83bc2b12a5e936ed029b |
|
BLAKE2b-256 | 2fad779601f7594cdbc09e5eb24c1d40b7263a32dd7b342cbc86f5903e00b14d |