Add a --version option to all the CLI commands
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
Migrated from T3167 (view on Phabricator)
Edited by Phabricator Migration user