Skip to content

Conversation

@ritoban23
Copy link

Overview

Implements issue #132 by adding a minimal CLI with three essential commands.

Changes

  • memori --version: Display package version
  • memori init [--force]: Create starter memori.json config
  • memori health [--config <path>] [--check-db]: Validate environment and configuration
  • Console script automatically available after pip install memorisdk
  • 26 comprehensive unit tests (all passing)
  • Complete CLI documentation and troubleshooting guide

Testing

  • All 26 tests pass ✅
  • Manual testing verified all commands work correctly
  • CI/CD ready with proper exit codes

Files Changed

  • memori/cli.py (new) - Main CLI implementation
  • tests/unit/test_cli.py (new) - Comprehensive tests
  • docs/getting-started/cli-reference.md (new) - CLI documentation
  • pyproject.toml (modified) - Console script registration
  • CHANGELOG.md (modified) - Feature entry
  • docs/getting-started/quick-start.md (modified) - CLI mention
  • mkdocs.yml (modified) - Navigation update

Closes #132

…nd health checks; add documentation and tests.
@ritoban23 ritoban23 force-pushed the feature/cli-commands-132 branch from f0c7e67 to af65ab0 Compare October 29, 2025 07:54
@Boburmirzo
Copy link
Collaborator

@ritoban23 Thanks for the contribution! We are looking at the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a minimal CLI for memori: init, --version, and health commands

2 participants