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
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
File details
Details for the file kamo-cli-1.1.5.tar.gz
.
File metadata
- Download URL: kamo-cli-1.1.5.tar.gz
- Upload date:
- Size: 33.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 623c3321d47d8e3a88a66ed135fea833b024f395f2eef3079306bf9163c859c2 |
|
MD5 | 5796f121044b9d54263d33ad1c2d6bc2 |
|
BLAKE2b-256 | 3d926a41799a4f6d0f35373496d8569d92f39d348e04438325239b70394ab522 |