feat: add --version arg support
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import tomllib
|
||||
from pathlib import Path
|
||||
|
||||
__version__ = tomllib.loads(
|
||||
(Path(__file__).parent.parent / "pyproject.toml").read_text()
|
||||
)["project"]["version"]
|
||||
Reference in New Issue
Block a user