When running from PyPI version and the _version.py is generated, it will use that, otherwise it will read from metadata, which seems to be populated correctly in the above installation method.
Also adding --version to quickly check your version, like most command-line tools.
Fixes missing
_version.py
when installing using pip from git branch, instead of PyPI https://github.com/gouline/dbt-metabase/pull/38#discussion_r675640224When running from PyPI version and the
_version.py
is generated, it will use that, otherwise it will read from metadata, which seems to be populated correctly in the above installation method.Also adding
--version
to quickly check your version, like most command-line tools.