Generate .gitignore templates from the command line
Project description
gig
A CLI to create .gitignore files, to keep your source control so fresh and clean.
Install/Upgrade
$ pip install -U gig
Or, run it with pipx:
$ pipx run gig --help
Usage
In the shell. . .
$ gig Python Ruby > .gitignore
Or, programmatically, in Python. . .
>>> import gig
>>> gig.generate_gitignore(["Clojure"])
u'\n### Clojure ###\nLeiningen.gitignore'
You can also generate global .gitignore_global
files. For more info, see here.
$ gig macOS VisualStudioCode --global > ~/.gitignore_global
To get a list of available templates. . .
$ gig list
$ gig list --global
For more help, run gig --help
.
Requirements
- Python >= 3.6
- Internet connection
License
MIT Licensed.
Changelog
1.0.0 (2019-06-27)
- Write to
stdout
. - Only Python>=3.6 is supported.
0.2.0 (2013-09-09)
- Add support for global gitignore files.
0.1.0 (2013-09-07)
- First release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gig-1.0.0.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file gig-1.0.0.tar.gz
.
File metadata
- Download URL: gig-1.0.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1220260c35099b96f273ee40e5616cd7b776b02934efae65819a6705086452a |
|
MD5 | 22191d15a4ad342f362a9893547b983e |
|
BLAKE2b-256 | a54b6e87e6e04537e6320da83701545f2873d6f4ff8b6bacdcc1f81f80709d4e |
Provenance
File details
Details for the file gig-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: gig-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2b3639a71a517c3c79ec87a45fc18bba45c21ae3b7fb626816531ebc1adad50 |
|
MD5 | 06700987d5165ca0a23b06134289a634 |
|
BLAKE2b-256 | 0278b6e70c794660e9aff5b41ff91477c07f6976dbb4a71b6f2c6bcb0425c34b |