Skip to content

[Feature Request] Add --version flag to CLI #299

@ZnOH02

Description

@ZnOH02

Have you searched if there an existing feature request for this?

  • I have searched the existing requests

Feature description

Is your feature request related to a problem? Please describe.

Currently, there is no way to quickly check the installed version of Scrapling from the command line. Users have to resort to pip show scrapling or Python one-liners like python -c "import scrapling; print(scrapling.__version__)". This is inconvenient, especially when debugging, reporting bugs, or writing documentation that references a specific version.

Describe the solution you'd like

Add a --version flag to the CLI that prints the current Scrapling version and exits. For example:

$ scrapling --version
Scrapling, version 0.4.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions