class Fukuzatsu::CLI

Public Instance Methods

check(path, *more_paths) click to toggle source
# File lib/fukuzatsu/cli.rb, line 20
def check(path, *more_paths)
  paths = [path] + more_paths
  Fukuzatsu.new(paths, formatter, options['threshold'], options['output']).report
end

Private Instance Methods

formatter() click to toggle source
# File lib/fukuzatsu/cli.rb, line 27
def formatter
  options['format'] && options['format'].to_sym || :text
end