SA
sauljabin/gitignoregh
gitignoregh is a command line tool that generates .gitignore files based on the open source gitignore templates repository from github
gitignoregh
gitignoregh is a command line tool that generates a .gitignore file for a project from the github gitignore templates repository.
Screenshots
|
|
Installation
Install with pip:
pipx install gitignoreghUpgrade with pip:
pipx upgrade gitignoreghUsage
Alias:
gigh
Help:
gitignoregh -hVersion:
gitignoregh --versionList all gitignore templates:
gitignoregh -lSearch gitignore templates files:
gitignoregh -s <name>Print a gitignore:
gitignoregh -p <name>Reset github template repository:
gitignoregh --resetGenerate .gitignore file (accepts multiple arguments):
gitignoregh <name>Development
Installing poetry:
pipx install poetryInstalling development dependencies:
poetry installRunning unit tests:
poetry run python -m scripts.testsApplying code styles:
poetry run python -m scripts.stylesRunning code analysis:
poetry run python -m scripts.analyzeRunning code coverage:
poetry run python -m scripts.coverageRunning cli using poetry:
poetry run gitignoreghRelease a new version
poetry run python -m scripts.bump --help
poetry run python -m scripts.bump <major|minor|patch>
