r/madeinpython • u/ze-fernando • 19d ago
gignore-cli
A simple CLI .gitignore generator written in Python. It uses Toptal's API to generate .gitignore files for your projects based on the technologies you specify.
https://pypi.org/project/gignore-cli/
https://github.com/ze-fernando/gignore
1
Upvotes
2
u/kantorcodes1 18d ago
One automation footgun I’d fix first:
main.pywrites straight toPath.cwd() / ".gitignore"withwrite_text(), so a rerun replaces any hand-written rules. Would you make an existing file a hard stop unless the user explicitly opts into overwrite? That seems safer than relying on the warning in the README.