Class: Fontcustom::CLI

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

Instance Method Summary collapse

Instance Method Details

#compile(*args) ⇒ Object



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

def compile(*args)
  # workaround to pass arguments from one Thor class to another
  ARGV.shift
  Fontcustom.compile(*ARGV)
end

#watch(*args) ⇒ Object



19
20
21
22
# File 'lib/fontcustom/cli.rb', line 19

def watch(*args)
  ARGV.shift
  Fontcustom.watch(*ARGV)
end