add binary for running
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
1ea9ad9813
commit
498bb2a85b
10
app/main.py
Normal file
10
app/main.py
Normal 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()
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user