Skip to content

feat: --version flag + ASCII masthead in --help - #4

Merged
slashome merged 1 commit into
mainfrom
feat/help-banner-version
Jul 3, 2026
Merged

slashome merged 1 commit into
mainfrom
feat/help-banner-version

Conversation

@slashome

@slashome slashome commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • --version: karaokay --version now prints karaokay 0.3.2.
  • --help banner: the README ASCII masthead is shown at the top of --help (via RawDescriptionHelpFormatter).
  • Version source of truth: added __version__ in karaokay.py; pyproject.toml now reads it through setuptools' dynamic version. Previously pyproject was stale at 0.3.0 while releases were driven only by git tags — a --version based on package metadata would have been wrong. Now there is a single place to bump.

Test

  • python3 karaokay.py --version → karaokay 0.3.2
  • python3 karaokay.py --help → banner renders above the description
  • python3 -c "import karaokay; print(karaokay.__version__)" → 0.3.2
  • python3 -m py_compile karaokay.py → OK

🤖 Generated with Claude Code

- Add __version__ (0.3.2) as the single source of truth; pyproject now reads
  it via setuptools dynamic version (was stale at 0.3.0).
- `karaokay --version` prints the version.
- `--help` shows the README ASCII banner (RawDescriptionHelpFormatter).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@slashome
slashome merged commit f47088b into main Jul 3, 2026
1 check passed
@slashome
slashome deleted the feat/help-banner-version branch July 3, 2026 12:37
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