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
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
Running multi version tests (3.7
, 3.8
, 3.9
):
Make sure you have
python3.7
,python3.8
,python3.9
aliases installed
poetry run python -m scripts.multi-version-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
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-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b7277fd1d5fda3a564ebd9300fab404f59c5961d12b6d2ccc4e5020367a667d |
|
MD5 | 8b2099e347568ec8e1927618066dccf2 |
|
BLAKE2b-256 | 7271155cb70676efd347ea1f1505fa6e593e34e8ecff07d9c3a8778674ac455f |