-
-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
Description
What happened?
All daemon-related CLI commands have been removed from cortex/cli.py, making it impossible to interact with the cortexd daemon through the CLI. The daemon client implementation (cortex/daemon_client.py) exists and is functional, but there are no CLI entry points to access these features.
How to reproduce
- Install Cortex (if not already installed)
- Try to run any daemon command:
cortex daemon ping - Observe the error
Additional Test Cases
# All of these will fail with the same error:
cortex daemon version
cortex daemon config
cortex daemon reload-config
cortex daemon shutdown
cortex daemon install
cortex daemon uninstall
cortex daemon run-tests
cortex daemon --helpExpected Behavior
The CLI should accept cortex daemon as a command group with subcommands that:
- Parse the daemon subcommand (ping, version, config, etc.)
- Instantiate a
DaemonClientfromcortex/daemon_client.py - Call the appropriate method
- Display the results to the user
Environment
- OS: Ubuntu 24.04
- Python: 3.12
Error output
