class CsvCop::Cli

Public Instance Methods

start(csv_file_path) click to toggle source
# File lib/csvcop/cli.rb, line 9
def start(csv_file_path)
  config = CsvCop::Config.new(options[:config]).read
  csv = CSV.table(csv_file_path)
  cop = CsvCop::Cop::Cop.new(csv, config)
  cop.on_ensure_all
end