Git Product home page Git Product logo

goofy's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.