[go: up one dir, main page]

Skip to content

yashhere/Goofy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goofy

Goofy generates .gitignore files for your project from command line.

PyPI version License

Table of Contents

Features

  1. Supports all GitHub-supported .gitignore() files
  2. Supports Linux and maybe Windows and Mac
  3. Works with .hgignore also
  4. Can generate .gitignore for multiple tools at same time
  5. Available on pip so easy to install and use

Dependencies

Requires Python3.3+ and pip

Installing

PyPI

$ pip install goofy

Source

$ git clone https://github.com/yash2696/Goofy
$ cd Goofy
$ python setup.py install

After Installation, run goofy update to fetch all .gitignore files from Github. This will download all .gitignore files to ~/.goofy_files.

Usage

Options

$ goofy --help
Usage: goofy [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  generate  generate gitignore files
  ls        list all gitignore files
  update    Update all gitignore files

Commands

ls          list all available files
generate    generate gitignore file
update      update gitignore file data

Basic Usage

$ goofy generate c++        #output c++ gitignore file to terminal screen

Overwrite existing gitignore file

$ goofy generate c++ > .gitignore       #overwrite existing gitignore file with new data

Append new gitignore data to existing file

$ goofy generate c++ >> .gitignore          #append data to exisiting gitignore file

Update gitignore files

$ goofy update

Support for multiple languages

$ goofy generate c++,python,java,c,visualstudiocode

List all available files

$ goofy ls

Contribute

Found an issue? Post it in the issue tracker.
Want to add another awesome feature? Fork this repository and add your feature, then send a pull request.

License

The MIT License (MIT) Copyright © 2017 Yash Agarwal