Gitigno
Gitigno is a Python CLI tool that automatically generates .ignore templates using the gitignore.io API.
Installation
Use the package manager pip to install gitignore-generator.
pip install gitigno
Usage
# creating a .gitignore template
> python gitigno create -t "<template-name>"
# if you want to create for more than one template
> python gitigno create -t "<template-name>,<template-name>,..."
"""
Here are examples for creating a .gitignore template for django & astro
"""
> python gitigno create -t "django,astro"
# or
> python gitigno create --template "django,astro"
# or
> python gitigno create # a prompt will ask you to enter template
"""
Shows a table of available templates on gitignore.io.
Not all templates names are listed becasue the list is too long
"""
> python gitigno --tnames
# for help
> python gitigno --help
Contributing
This is just a fun project for my portfolio which I may or may not continue to improve in the future.
I made it pip package for easy installation for anyone who wants to check it out.
License
gitigno is distributed under the terms of the MIT license.
Metadata
Release files for gitigno 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gitigno-0.0.3.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gitigno-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / gitigno-0.0.3.tar.gz
| Download URL | gitigno-0.0.3.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3a62257028fec7980092421dff0e4b9306f119954ecb7dcca08addb0a50ea65
|
|
BLAKE2b-256 checksum How to use checksums |
9f8101fb37e02dedc3c8f8497141c0837986fe695f88f672e888dc9c70ed643f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / gitigno-0.0.3-py3-none-any.whl
| Download URL | gitigno-0.0.3-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
192c1ea8ed076cd67ead39317bd45072030111ca473309bb17711c121ebc3086
|
|
BLAKE2b-256 checksum How to use checksums |
2974b9f4d15f1bb3457c191f2017b30a42ab58f686cdbb0fc1d5837dd707f05f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|