Class: Wolfe::CLI

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

Instance Method Summary collapse

Instance Method Details

#cleanup(file) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/wolfe/cli.rb', line 6

def cleanup file
  begin
    Wolfe.run_cleanup file
  rescue ArgumentError => e
    puts "Error: #{e}"
  end
end