Skip to content

feat(cli): add version display and version flag to CLI#918

Merged
igorls merged 1 commit intoMemPalace:developfrom
almirus:develop
Apr 17, 2026
Merged

feat(cli): add version display and version flag to CLI#918
igorls merged 1 commit intoMemPalace:developfrom
almirus:develop

Conversation

@almirus
Copy link
Copy Markdown
Contributor

@almirus almirus commented Apr 15, 2026

Introduces a version label to the command-line interface, displaying the current MemPalace version in the help text. Adds a --version flag to allow users to easily check the version and exit.

What does this PR do?

How to test

python -m mempalace.cli --version

Checklist

  • Tests pass (python -m pytest tests/ -v)
  • No hardcoded paths
  • Linter passes (ruff check .)

Introduces a version label to the command-line interface, displaying the current MemPalace version in the help text. Adds a `--version` flag to allow users to easily check the version and exit.
@igorls igorls added enhancement New feature or request area/cli CLI commands labels Apr 15, 2026
@mvalentsev
Copy link
Copy Markdown
Contributor

FYI, there are a couple of open PRs that already add --version:

Might be worth coordinating so the work doesn't get duplicated.

@igorls igorls merged commit 41bff26 into MemPalace:develop Apr 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli CLI commands enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants