Skip to content

[FR] Add --version flag to tkdesigner CLIΒ #481

Description

@chirag127

Use case

Users filing bug reports and maintainers triaging them need the installed tkdesigner version. Currently the only path is pip show tkdesigner, which fails inside virtualenvs users forget they activated.

Proposal

Add --version / -V to argparse in tkdesigner/cli.py:

from tkdesigner import __version__
parser.add_argument('--version', action='version', version=f'tkdesigner {__version__}')

Requires exposing __version__ in tkdesigner/__init__.py (currently empty per repo listing).

Existing art

Standard argparse pattern; used by pip, black, poetry.

Not-a-bug caveat

Cosmetic/DX improvement, not a defect.

Thanks for maintaining ParthJadhav/Tkinter-Designer!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions