gitignoregh is a command line tool that generates a .gitignore file for a project from the github gitignore templates repository
Project description
gitignoregh
gitignoregh
is a command line tool that generates a .gitignore
file for a project from the github gitignore templates repository.
Installation
Install with pip:
pip install gitignoregh
Upgrade with pip:
pip install --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:
pip 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
poetry version <major|minor|patch>
git add -A
git commit -m "bumping version to $(poetry version -s)"
git tag $(poetry version -s)
git push origin main
git push --tags
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gitignoregh-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2671cd27336571a5631a4b020735f6edcbc87b767076410561d64a401a6a8490 |
|
MD5 | c070e0832ce544ee4f8f1a8cd6a492dd |
|
BLAKE2b-256 | 80f6a1ccb7eb4c28f7dba99f2d9f3988b52b621cf0337d820902fd77bd0552e4 |