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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c7f2f510a5a2a3531db1a90f1407b5ea76b7d35e5ba451531a6dc9ed523ea93 |
|
MD5 | dd05701a06d7bf8d462042651831dea7 |
|
BLAKE2b-256 | 0ab2b1b0102d55420a2b059a19aebe0689f3e7a8e3ee5f6e7126669617ff0d5d |