Skip to main content

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


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.3.0.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

cortexapps_cli-0.3.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file cortexapps_cli-0.3.0.tar.gz.

File metadata

  • Download URL: cortexapps_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.6 Linux/6.2.0-1015-azure

File hashes

Hashes for cortexapps_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 18f92b7bd4340b19590bc6f15634f0c855499474e8cd2ceffb8aaa56406c0055
MD5 4a11aa5c8531126536802b3ecc48a19e
BLAKE2b-256 07a6f5eb962529f5ca87353749571ba3f2e62d9ddd7aefef84f6f2db5179474a

See more details on using hashes here.

File details

Details for the file cortexapps_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: cortexapps_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.6 Linux/6.2.0-1015-azure

File hashes

Hashes for cortexapps_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a89b850d7f209cf250d1f36181978d8696ded497a0ed05bddad80bd93a95a7ef
MD5 52656dfa610e7b55b97fd35c94b7e465
BLAKE2b-256 9debdc2ab2ff47bab5617298f81f937b19545fd4f552e0dc9b95bffbbe9e8e33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page