Class: BitmapCompiler::CLI

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

Instance Method Summary collapse

Instance Method Details

#process_fileObject

CLI method to call the Editor



12
13
14
15
16
17
# File 'lib/bitmap_compiler/cli.rb', line 12

def process_file
  bitmap_compiler.run(options[:file])
rescue StandardError => e
  warn "ERROR: #{e.message}"
  exit 1
end