feat: add --version arg support

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