Command Line Interface for cortexapps
Project description
Cortex CLI
cortexapps-cli implements a command line interface for cortexapps.
Cortex CLI is in alpha
Cortex CLI is currently in alpha test mode while we work out installation and configuration issues with our alpha testsers. It is not offically supported by Cortex.
Installing Cortex CLI
Cortex CLI is available on PyPI:
$ python -m pip install cortexapps-cli
Alternatively, in a venv environment:
VENV_DIR = ~/.venv/cortex
python3 -m venv $VENV_DIR
source $VENV_DIR/bin/activate
pip install cortexapps-cli
cortex -v
Cortex CLI officially supports Python 3.7+.
Configuration
Cortex CLI requires a configuration file that requires, at a minimum, a Cortex API key.
You will be prompted to create a configuration file on the first request:
/# cortex catalog list
Cortex CLI config file /root/.cortex/config does not exist. Create (Y/N)?
Y
Created file: /root/.cortex/config
Edit this file and replace the string 'REPLACE_WITH_YOUR_CORTEX_API_KEY' with the contents
of your Cortex API key and then retry your command.
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
cortexapps_cli-0.4.0.tar.gz
(19.8 kB
view hashes)
Built Distribution
Close
Hashes for cortexapps_cli-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bdaf3c832cb89a12f12c29ba1a2a8cecf1930db381ad9a421d6be413f54ed06 |
|
MD5 | 8b707d0b8dac367a95720d216d8d73a1 |
|
BLAKE2b-256 | 795f12d6b2186f99d003f24d26c885d550ca27bea96a258f2b21f2ba169fb9e7 |