bboozzoo / mender-backend-cli

[ARCHIVED] cli tools for mender backend, use https://github.com/mendersoftware/mender-backend-cli instead
MIT License
3 stars 12 forks source link

What is it?

A collection of cli tools for working with Mender backend.

Dependencies:

Tools

There's a separate tool for every service, each run as subcommand of mender-backend script:

./mender-backend --help
usage: mender-backend [-h] [-d] [-s SERVICE] [-n]
                      {deployment,image,admission,inventory,device} ...

mender backend client

positional arguments:
  {deployment,image,admission,inventory,device}
                        Commands
    deployment          Deployments
    image               Images
    admission           Admission
    inventory           Inventory
    device              Device

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           Enable debugging output (default: False)
  -s SERVICE, --service SERVICE
                        Service address (default:
                        https://docker.mender.io:8080/)
  -n, --no-verify       Skip certificate verification (default: False)

Each tool supports a number of commands, use --help for details.

Installation

User-local installation:

python3 ./setup.py install --user

Make sure to have ~/.local/bin in your PATH.