gitigno

A Python CLI tool that generates a .gitignore template file using the gitignore.io API


Keywords
cli, gitignore, gitignore-generator, python, tools
License
MIT
Install
pip install gitigno==0.0.3

Documentation

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.