Class: GitDiffLCS::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/git_diff_lcs/cli.rb

Overview

Command Line Interface

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/git_diff_lcs/cli.rb', line 8

def self.exit_on_failure?
  true
end

Instance Method Details

#shortstat(repo, src, dest) ⇒ Object



13
14
15
# File 'lib/git_diff_lcs/cli.rb', line 13

def shortstat(repo, src, dest)
  puts GitDiffLCS.shortstat(repo, src, dest)
end