Skip to content

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

License

Notifications You must be signed in to change notification settings

CalvinSprouse/ignorepy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.