Class: Lintf::CLI

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

Instance Method Summary collapse

Instance Method Details

#runObject



7
8
9
10
11
12
13
14
# File 'lib/lintf/cli.rb', line 7

def run
  parse_args
  tools_to_execute.each do |tool|
    next if tool[:config] && !File.file?(tool[:config])

    execute tool
  end
end