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.0.5a0.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

cortexapps_cli-0.0.5a0-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file cortexapps_cli-0.0.5a0.tar.gz.

File metadata

  • Download URL: cortexapps_cli-0.0.5a0.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for cortexapps_cli-0.0.5a0.tar.gz
Algorithm Hash digest
SHA256 aea365c2f2aa31f597f2635f66a85628812eb8d048bd163cddf7427a9af9cf85
MD5 322e1ddb377571dbe1fc123d7f9a8fe3
BLAKE2b-256 dcb336539157732cf4e7cd7a8aa576a8d178b21619181399d813dd3613747e26

See more details on using hashes here.

File details

Details for the file cortexapps_cli-0.0.5a0-py3-none-any.whl.

File metadata

File hashes

Hashes for cortexapps_cli-0.0.5a0-py3-none-any.whl
Algorithm Hash digest
SHA256 d17954dfce6fdb2a54bcf9968aafcab147dbc3aa2c2711ea5fa0546d9de03183
MD5 8f948430233c7db439bb62cb3767e4d6
BLAKE2b-256 a71c0bb2ad6419fa58310b122a0c8c19b7321341da34ccad3126bf5e011dc59e

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