Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

feat: cortex -h should have commands categorized #1231

@dan-menlo

Description

@dan-menlo

Goal

  • Our CLI -h should have categories for commands, for easier understanding
  • Additionally, are we able to have submodules, that also have their own -h? (e.g. cortex models -h)
Cortex.cpp CLI
Usage: cortex-nightly [OPTIONS] [SUBCOMMAND]

Options:
  -h,--help                   Print this help message and exit
  --verbose                   Verbose logging
  -v                          Cortex version

Common Commands:
  pull                        Download model from Huggingface or Cortex repo  
  run                         Shortcut to start a model and chat
  chat                        Send a chat request to a model

Inference:
  embeddings                  Creates an embedding vector representing the input text

Models:
  models                      Subcommands for managing models
  models pull

Engines:
  engines                       Get cortex engines
  engines install 
  engines uninstall

System: 
  start                        Starts Cortex
  stop                        Stop Cortex
  update                      Update cortex to the latest version
  ps                          Show running models and their status

Resource

Docker is a good example of how commands can be categorized

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions