Method: CleanFiles::Runner#run

Defined in:
lib/clean_files/runner.rb

#runObject

Parse options, check arguments, then process the command



20
21
22
23
24
25
26
27
28
# File 'lib/clean_files/runner.rb', line 20

def run

  if parsed_options? && arguments_valid?
    Cleaner.new(@options.delete(:paths), @options).start
  else
    output_usage
  end

end