Display or write version using Hatch commands
masterIf you are migrating from setuptools_scm, you can use hatch commands to interact with the version without a full build:
Display the version (prints to terminal without modifying source):
hatch versionWrite the version to a file (updates the version-file defined in your config without creating sdists/wheels):
hatch build --hooks-only