Skip to content

Add pythonclaw --version flag #5

Closed

Description

@ericwang915

The CLI has no --version / -V flag. It should print __version__ from pythonclaw/__init__.py and exit.

Where: pythonclaw/main.py — _build_parser() adds subcommands; add a top-level --version argument using argparse's action="version".

Acceptance: pythonclaw --version prints e.g. pythonclaw 0.7.1.

Good first issue — small, self-contained, no external dependencies.

Activity

  1. added a commit that references this issue on Sep 5, 2026
  2. ericwang915 commented on Sep 5, 2026

    @ericwang915
    OwnerAuthor

    Done in v0.7.2 — pythonclaw --version (and -V) now prints the installed version and exits.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions