add binary for running
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
		
							
								
								
									
										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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user