Class: Tsumetogi::CLI

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

Instance Method Summary collapse

Instance Method Details

#mewObject



30
31
32
33
34
# File 'lib/tsumetogi/cli.rb', line 30

def mew
  puts "    ∧_∧        "
  puts "  ミ,・_・ミ にゃー"
  puts "ヾ(_uuノ        "
end

#scratch(pdf_path) ⇒ Object



22
23
24
25
26
27
# File 'lib/tsumetogi/cli.rb', line 22

def scratch(pdf_path)
  config = Tsumetogi::Config.new(options)
  Tsumetogi.logger = Tsumetogi::Logger.new(config)
  Scratcher.new(pdf_path, config).scratch
  TextExtractor.new(pdf_path, config).extract if config.text
end