A simple CLI tool to generate pre-built .gitignore
files for different programming languages.
pip install gitignore-generator==0.1.0
Run the command in your project root:
gen-gitignore
The tool will:
- Ask you to select a language (Python or JavaScript/TypeScript)
- Generate a
.gitignore
file with standard patterns for the selected language - If a
.gitignore
already exists, you'll be asked to overwrite or merge
- Language selection (Python, JavaScript/TypeScript)
- Standard gitignore patterns for each language
- Safe handling of existing gitignore files (overwrite or merge)