Skip to main content

Kamo Commandline Tool

Project description

Kamo CLI

Kamo Commandline Tool

The Kamo tool is a simple user-facing CLI tool for communicating with the Kamo backend and Knode backend rest services.

Getting started

This tool is being rapidly developed and it is recommended that you install it in development mode.

$ pip install -e .

Once the tool is installed you need to add a profile and create or set a tenant. e.g.

$ kamo profile add kamo
> kamo.io

$ kamo tenants list

$ kamo tenants create testtenant

$ kamo tenants set testtenant

Test that everything works:

$ kamo version
$ kamo jobs list --all

Advanced usage

For all commands you can use the -o json flag to produce json output which is handy when doing automation or using the jq tool to do further processing.

For example, to get a list on all objects you might run:

$ kamo -ojson db objects list | jq

When debugging or inspecting the restful api it can be useful to use the -v info og -v debug flags to get further information about what the tool is doing.

Try these for example to see how the cli tool gets objects from the kamo db

$ kamo -vinfo db objects list --num 1
$ kamo -vdebug db objects list --num 1

Project details


Download files

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

Source Distribution

kamo-cli-1.1.5.tar.gz (33.1 kB view hashes)

Uploaded Source

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