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.

https://raw.githubusercontent.com/sauljabin/gitignoregh/main/screenshots/options.png

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

Print a gitignore:

gitignoregh -p

Reset github template repository:

gitignoregh --reset

Generate .gitignore file (accepts multiple arguments):

gitignoregh java gradle

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.tests-coverage

Running cli using poetry:

poetry run gitignoregh

Release a new version

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

poetry version <major|minor|patch>
git add -A
git commit -m "new version: $(poetry version -s)"
git tag $(poetry version -s)
git push origin main
git push --tags

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.1.7.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

gitignoregh-1.1.7-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitignoregh-1.1.7.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for gitignoregh-1.1.7.tar.gz
Algorithm Hash digest
SHA256 8eb2c2ba032a0890516b1c05d62793ed6ea9cca45682c264f6b5833945372e34
MD5 eb89db22b0b7a440714c42668de6e029
BLAKE2b-256 e5ef6d7e648e140935a1723d29ab46e851e97793f222af7720f1fc0a3aa89a61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gitignoregh-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for gitignoregh-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e634140b6cd99fe4eaf338803f61de0da2b22140390306f873946336358b5f13
MD5 340c6183d42b0341c4629c033ea9e9b6
BLAKE2b-256 285e286fec6e949e9047b44b6f9ad755779dc243d275821a8ab59bf6bc765f92

See more details on using hashes here.

Supported by

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