Generate/update gitignore file with templates
Project description
DIG git-ignore
Generate and/or Update gitignore files using gitignore.io templates
Usage
python -m dig_git_ignore ACTION
or
git-ignore ACTION
ACTION
must be one of:
• create
git-ignore create template [template ...]
Create a new .gitignore only with selected templates. It will erease any existing rule.
• add
git-ignore add template [template ...]
Update .gitignore, append selected templates to the existing ones. Only affect the rules inside the generated block.
• remove
git-ignore remove template [template ...]
Update .gitignore, remove selected templates from the existing ones. Only affect the rules inside the generated block.
• update
git-ignore update
Update .gitignore with most recent rules. Only affect the rules inside the generated block.
• list
git-ignore list
List templates used in current .gitignore.
• list-all
git-ignore list-all
List all supported templates.
• find
git-ignore find term
Return supported templates who contains the searched term.
Installation
From PyPI (preferred):
python -m pip install dig-git-ignore
From github release:
python -m pip install "https://github.com/DIG-/python-git-ignore/releases/download/1.0.1/dig_git_ignore-1.0.1-py3-none-any.whl"
or
python -m pip install "https://github.com/DIG-/python-git-ignore/releases/download/1.0.1/dig_git_ignore.tar.gz"
From github main branch:
python -m pip install "git+https://github.com/DIG-/python-git-ignore.git@master#egg=dig_git_ignore"
License
- You can use and redist freely.
- You can also modify, but only for yourself.
- You can use it as a part of your project, but without modifications in this project.
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 dig_git_ignore-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f703059d9c24bae72ed87f88b816731450ab43949e22c81ce7b9ec0e0d406f80 |
|
MD5 | 2265e32478228616f9f5eeadc77be775 |
|
BLAKE2b-256 | e628acd9fa254451a055ab8f0d3dd58a76246579543fd0a26a26a4b87dcd42c1 |