A Python CLI tool that generates a .gitignore template file using the gitignore.io API
Project description
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.
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
gitigno-0.0.3.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file gitigno-0.0.3.tar.gz
.
File metadata
- Download URL: gitigno-0.0.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3a62257028fec7980092421dff0e4b9306f119954ecb7dcca08addb0a50ea65 |
|
MD5 | 0409a3404cc812b6b8059d4c3c0be80b |
|
BLAKE2b-256 | 9f8101fb37e02dedc3c8f8497141c0837986fe695f88f672e888dc9c70ed643f |
File details
Details for the file gitigno-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: gitigno-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 192c1ea8ed076cd67ead39317bd45072030111ca473309bb17711c121ebc3086 |
|
MD5 | 38242842897232dc499463197bc432dd |
|
BLAKE2b-256 | 2974b9f4d15f1bb3457c191f2017b30a42ab58f686cdbb0fc1d5837dd707f05f |