add binary for running

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-07-28 15:07:12 -04:00
parent 1ea9ad9813
commit 498bb2a85b
No known key found for this signature in database
GPG Key ID: 1FACF4075E3212F7
2 changed files with 12 additions and 0 deletions

10
app/main.py Normal file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env python3
from app.flake_show import get_derivations
def main():
print(get_derivations("/home/alice/.gitprojects/nix-dotfiles"))
if __name__ == "__main__":
main()

View File

@ -10,6 +10,8 @@ readme = "README.md"
python = "^3.11"
sqlalchemy = "^2.0.31"
[tool.poetry.scripts]
main = "app.main:main"
[tool.poetry.group.dev.dependencies]
ruff = "0.5.1"