Class: Fontist::GoogleCLI

Inherits:
Thor
  • Object
show all
Includes:
CLI::ClassOptions
Defined in:
lib/fontist/google_cli.rb

Instance Method Summary collapse

Methods included from CLI::ClassOptions

#handle_class_options

Instance Method Details

#checkObject



6
7
8
9
10
11
# File 'lib/fontist/google_cli.rb', line 6

def check
  handle_class_options(options)
  require "fontist/import/google_check"
  Fontist::Import::GoogleCheck.new.call
  CLI::STATUS_SUCCESS
end

#importObject



14
15
16
17
18
19
# File 'lib/fontist/google_cli.rb', line 14

def import
  handle_class_options(options)
  require "fontist/import/google_import"
  Fontist::Import::GoogleImport.new.call
  CLI::STATUS_SUCCESS
end