Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

gitigno-0.0.3-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page