Class: BibtexToScrapbox::CLI

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

Instance Method Summary collapse

Instance Method Details

#convert(*paths) ⇒ Object



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

def convert(*paths)
  paths.each do |path|
    BibtexToScrapbox::Converter.add(path)
  end
  BibtexToScrapbox::Converter.start()
end

#versionObject



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

def version
  p BibtexToScrapbox::VERSION
end