Skip to content

[codex] Expose package version in every CLI - #18

Merged
amarakramali merged 1 commit into
mainfrom
agent/add-cli-version
Jul 28, 2026
Merged

[codex] Expose package version in every CLI#18
amarakramali merged 1 commit into
mainfrom
agent/add-cli-version

Conversation

@amarakramali

Copy link
Copy Markdown
Owner

What changed

  • expose aep_load_forecasting.__version__ from installed distribution metadata
  • add one shared CLI helper for a consistent --version option
  • support --version on all six aep-* console commands
  • add package-metadata and parser-level regression tests

Why

Users and bug reports need a reliable way to identify the installed build. Reading the distribution metadata avoids maintaining a second hard-coded version, while a shared argument helper keeps every command consistent across platforms.

Validation

  • python -m ruff check src tests streamlit_app.py
  • python -m compileall -q src tests streamlit_app.py
  • python -m pytest -q — 73 passed
  • python -m build
  • installed the generated wheel and verified all six commands print exactly aep-load-forecasting 0.1.0

@amarakramali
amarakramali merged commit a5fe14f into main Jul 28, 2026
2 checks passed
@amarakramali
amarakramali deleted the agent/add-cli-version branch July 28, 2026 08:15
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.

1 participant