-
Notifications
You must be signed in to change notification settings - Fork 317
Open
Description
Note: This is a self-assigned issue. I plan to work on this feature and will submit a pull request.
Problem
Currently, the memori CLI doesn't exist or isn't discoverable, making it difficult to verify installation, initialize a project, or quickly diagnose system health.
Motivation
- Enable users to confirm
memoriis installed via a simple--versioncommand. - Provide a clear entry point (
memori init) to scaffold basic config and folders. - Offer a diagnostic tool (
memori health) to check core dependencies like Redis, Ollama, or other configured services.
Implementation Plan
-
Add or refactor the CLI entry point (e.g.,
memori/__main__.pyormemori/cli.py):- Parse commands:
init,--version,health.
- Parse commands:
-
Implement
memori init:- Create a starter config file (e.g.,
memori.tomlor.memori.yml). - Set up basic directory structure if needed.
- Create a starter config file (e.g.,
-
Implement
memori --version:- Read version from
pyproject.tomlor__version__.pyand print.
- Read version from
-
Implement
memori health:- Check connectivity to required services (Redis, Ollama, etc.).
- Print a status summary (OK/FAIL) for each.
Details
A minimal CLI example:
memori --version # prints version
memori init # creates starter config
memori health # checks dependenciesThis would make installation verification and onboarding much smoother.
Metadata
Metadata
Assignees
Labels
No labels