Class: Researchmap2bib::CLI
- Inherits:
-
Thor
- Object
- Thor
- Researchmap2bib::CLI
- Defined in:
- lib/researchmap2bib/cli.rb
Instance Method Summary collapse
Instance Method Details
#generate(file_name) ⇒ Object
7 8 9 10 |
# File 'lib/researchmap2bib/cli.rb', line 7 def generate(file_name) @s = Researchmap2bib::Generator.new @s.generate(file_name) end |
#version ⇒ Object
13 14 15 |
# File 'lib/researchmap2bib/cli.rb', line 13 def version puts "researchmap2bib version #{::Researchmap2bib::VERSION}" end |