Skip to content

add support for a version command #2441

Closed
@remyleone

Description

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

I would like to know the version of the CLI I use using only a version command.

Describe the solution you'd like

$ huggingface-cli version
huggingface_hub version: 0.17.3

Or

$ huggingface-cli version
0.17.3

Describe alternatives you've considered

Using $ huggingface-cli env but it is not as clear and straightforward to think about the environment to fetch the version of the CLI.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions