Skip to main content

gitignoregh is a command line tool that generates a .gitignore file for a project from the github gitignore templates repository

Project description

gitignoregh

Python GitHub MIT License GitHub Actions Codecov Python Versions Version Dependencies Platform

gitignoregh is a command line tool that generates a .gitignore file for a project from the github gitignore templates repository.

Screenshots

Installation

Install with pip:

pipx install gitignoregh

Upgrade with pip:

pipx upgrade gitignoregh

Usage

Alias: gigh

Help:

gitignoregh -h

Version:

gitignoregh --version

List all gitignore templates:

gitignoregh -l

Search gitignore templates files:

gitignoregh -s <name>

Print a gitignore:

gitignoregh -p <name>

Reset github template repository:

gitignoregh --reset

Generate .gitignore file (accepts multiple arguments):

gitignoregh <name>

Development

Installing poetry:

pipx install poetry

Installing development dependencies:

poetry install

Running unit tests:

poetry run python -m scripts.tests

Applying code styles:

poetry run python -m scripts.styles

Running code analysis:

poetry run python -m scripts.analyze

Running code coverage:

poetry run python -m scripts.coverage

Running cli using poetry:

poetry run gitignoregh

Release a new version

Check https://python-poetry.org/docs/cli/#version

poetry run python -m scripts.bump --help
poetry run python -m scripts.bump <major|minor|patch>

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

gitignoregh-1.2.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

gitignoregh-1.2.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file gitignoregh-1.2.1.tar.gz.

File metadata

  • Download URL: gitignoregh-1.2.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gitignoregh-1.2.1.tar.gz
Algorithm Hash digest
SHA256 57e625eac9c81a80564245460f4c5a2dd734ce19a6de7883f841e6088b0b2100
MD5 976e8a7ab57d335823bd2575113e70b1
BLAKE2b-256 ef00b213a43924d9ea857e845c051695bc2ffe9745600842df032db8a5e52a28

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitignoregh-1.2.1.tar.gz:

Publisher: package.yml on sauljabin/gitignoregh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gitignoregh-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: gitignoregh-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gitignoregh-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5242b06378b90c692e7104de547f70879467f5024b9e96568632d1e32c8ad149
MD5 87a9d8cde4dc2032e43489897347a63e
BLAKE2b-256 5883de4c8e9595af592190fb6803bfce1e31521af8d956d3633b5645fbb7f47d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gitignoregh-1.2.1-py3-none-any.whl:

Publisher: package.yml on sauljabin/gitignoregh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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