feat: add --version arg support

This commit is contained in:
2026-10-08 12:43:56 +03:00
parent a42e1cd1a7
commit db30814b54
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
import tomllib
from pathlib import Path
__version__ = tomllib.loads(
(Path(__file__).parent.parent / "pyproject.toml").read_text()
)["project"]["version"]