Merge pull request #4 from RAD-Development/feature/add-binary

add binary for running
This commit is contained in:
Alice Huston 2024-07-28 15:35:04 -04:00 committed by GitHub
commit aa61e773bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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" python = "^3.11"
sqlalchemy = "^2.0.31" sqlalchemy = "^2.0.31"
[tool.poetry.scripts]
main = "app.main:main"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
ruff = "0.5.1" ruff = "0.5.1"