Skip to main content

A CLI tool to generate gitignore files for different languages

Project description

Gitignore Generator

A simple CLI tool to generate .gitignore files for different programming languages.

Installation

# Install from the current directory
pip install -e .

# Or install directly
pip install .

Usage

Run the command in your project root:

gen-gitignore

The tool will:

  1. Ask you to select a language (Python or JavaScript/TypeScript)
  2. Generate a .gitignore file with standard patterns for the selected language
  3. If a .gitignore already exists, you'll be asked to overwrite or merge

Features

  • Language selection (Python, JavaScript/TypeScript)
  • Standard gitignore patterns for each language
  • Safe handling of existing gitignore files (overwrite or merge)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitignore_generator-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitignore_generator-0.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file gitignore_generator-0.1.0.tar.gz.

File metadata

  • Download URL: gitignore_generator-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for gitignore_generator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 201d45975cc57138c0815b32c901388847358bb3daaf49367def4349ec0d3be5
MD5 2ca4bd3e2ba0f458842ac097b1283c8d
BLAKE2b-256 f9bdaf1723fea502baddcb76b950842ae1e2695abe8d8f510450fd1f2b55f92f

See more details on using hashes here.

File details

Details for the file gitignore_generator-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gitignore_generator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96a61f9f3e0caf58a149b17a32d8976a07b45dfc5223e025be84d8ea6505db52
MD5 6f47b4c52ac65bba1a6c79402ba17b21
BLAKE2b-256 17bdb5e84fb6237395c6efa71fd3945c1cfed55314451fbffbfd8780031b22d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page