Skip to content

metalels/diff_influence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diff Influence

Build Status
Gem Version

Search influence of git diff.

Requirement

  • Git ( support only git diff command. )
  • Ruby ( support only Ruby 1.8.7 or later. )

Installation

Add this line to your application's Gemfile:

gem 'diff_influence', group: :development

And then execute:

$ bundle

Or install it yourself as:

$ gem install diff_influence

Usage

==============================================================================
[]: optional(overrides .diff-influence)

Usage: diff-influence [Options]

 Options:

 -c --commit id1,id2,...          git commit id(s) uses diff (default: none)
 -d --dir  dir1,dir2,...          path(s) to search file (default: app,lib)
 -e --ext  ext1,ext2,...          extension(s) to search file (default: rb)
 -i --ignore method1,method2,...  ignore methods (default: new, index)
 -g --grep                        use grep command with OS
 -P --print                       print config values
 -D --debug                       print debugging information to console

 Feature Options:

 -o --output path                 to output file (default: STDOUT)
==============================================================================

Permanent Options

Diff Influence laad .diff-influece file in the root of your repository or home.

---
:commits: []
:search_directories:
- app
- lib
:search_extensions:
- rb
:ignore_methods:
- new
- index
:os_grep: false
:debug: false

You can display examples of .diff-influence file definitions using the -P option.

Authors

metalels

About

search diff influence.

Resources

License

Stars

Watchers

Forks

Packages

No packages published