CalvinSprouse / ignorepy

Generate a .gitignore from command line tags using gitignore.io.

Home Page:https://pypi.org/project/ignorepy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ignorepy

Generate a .gitignore from the command line.

Installation

Install with pip:

pip install ignorepy

Usage

After installing run:

ignorepy tag1 tag2 tag3

A .gitignore file will be generated from gitignore.io with the specified tags and copied to the clipboard.

Additionally pass -s

ignorepy tag1 tag2 tag3 -s

and the tags will be saved as default tag. Then the program can be called with

ignorepy

and the default tags will be automatically loaded.

Additionally pass -f

ignorepy tag1 tag2 tag3 -f

and instead of being copied to the clipboard the .gitignore file will be written to .gitignore in the current working directory.

About

Generate a .gitignore from command line tags using gitignore.io.

https://pypi.org/project/ignorepy/

License:MIT License


Languages

Language:Python 97.1%Language:Shell 2.9%