Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 757 Bytes

README.md

File metadata and controls

36 lines (28 loc) · 757 Bytes

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.