Method: Colorly::Command#run

Defined in:
lib/colorly/command.rb

#runObject



40
41
42
43
44
45
46
47
48
49
# File 'lib/colorly/command.rb', line 40

def run
  @script_path = args['SCRIPT']
  @out_path = args['OUTPUT_PATH']
  @use_names = args['--names']

  generate
  return unless args['--watch']

  watch_and_generate
end