Page MenuHomeSoftware Heritage

Add a --version option to all the CLI commands
Closed, MigratedEdits Locked

Description

For instance, swh graph --version should return the version of swh.graph, etc.

This should be pretty easy using https://click.palletsprojects.com/en/7.x/api/?highlight=version_option#click.version_option + the version from importlib-metadata

Event Timeline

seirl created this task.
seirl removed olasd as the assignee of this task.
seirl added a subscriber: olasd.
seirl added a subscriber: earthizflat.