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.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb612a41fc0d72f9b179843045fe2a0d576c6e133bd03e5a193046802e6ca1db |
|
MD5 | 350b57bae15e54ba397fddd9af5325b6 |
|
BLAKE2b-256 | 933753781f26644f8aba3d84c36c4f171babe5382c118ec718f77bd34cc1dba8 |