Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tlatsas/ignore
Quick access to .gitignore templates from github/gitignore using the github API
https://github.com/tlatsas/ignore
Last synced: 25 days ago
JSON representation
Quick access to .gitignore templates from github/gitignore using the github API
- Host: GitHub
- URL: https://github.com/tlatsas/ignore
- Owner: tlatsas
- License: gpl-3.0
- Created: 2013-05-01T14:47:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-04T16:05:40.000Z (over 11 years ago)
- Last Synced: 2024-12-05T20:17:09.286Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 129 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
ignore.py
---------Get gitignore templates from the [github/gitignore][1] repository.
It supports listing and downloading available templates using the github API.dependencies
------------* python >= 3
* [requests][2]examples
--------List all available .gitignore templates:
$ ignore.py list
Get vim, python and c .gitignore templates and print on `STDOUT`:
$ ignore.py get vim python c
You can use a shell redirect to write the output in a .gitignore file or use the
`--output-files` and `--merge` options:$ ignore.py get -o -m vim python c
If a .gitignore file already exists you will be prompted to overwrite it unless
you use the `--force` option. For more information see `ignore.py -h`.license
-------See `COPYING`
[1]: https://github.com/github/gitignore
[2]: http://docs.python-requests.org/en/latest/