Merge pull request #4 from RAD-Development/feature/add-binary
add binary for running
This commit is contained in:
commit
aa61e773bf
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"
|
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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user