Skip to content

Add --version flag to both CLI entry points #25

@Hell1213

Description

@Hell1213

Description

Both oss-dev (Click) and oss-dev-new (Typer) CLI entry points currently lack a --version flag. Add a --version flag that prints the current package version (v0.2.0) and exits.

Tasks

  • Add --version option to the Click CLI in main.py
  • Add --version option to the Typer CLI in src/oss_dev/cli/app.py
  • Use the version string from src/oss_dev/_version.py

Skills Required

  • Python
  • Click CLI framework
  • Typer CLI framework

Difficulty

Beginner-level1

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgssocGirlScript Summer of Codegssoc-extGSSoC Extended contributionlevel1Beginner: Good for newcomers (10 points)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions