Skip to content

Feature: add --version flag to clawrtc CLI #489

@createkr

Description

@createkr

Feature request: add --version to clawrtc CLI

Problem

clawrtc currently shows help and subcommands, but there is no direct version flag in the CLI UX on many installs. This makes quick environment checks and support debugging slower.

Requested behavior

Add a standard version command output:

  • clawrtc --version
  • (optional) clawrtc -V

Expected output format example:

clawrtc 1.6.0

Why this helps

  • Faster support triage
  • Easier bug reports (users can paste exact CLI version)
  • Standard CLI ergonomics matching common tooling

Suggested implementation

In clawrtc/cli.py, add argparse version action using package __version__, e.g.:

parser.add_argument("--version", action="version", version=f"clawrtc {__version__}")

Thanks.

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