Class: Toccatore::CLI

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean



8
9
10
# File 'lib/toccatore/cli.rb', line 8

def self.exit_on_failure?
  true
end

Instance Method Details

#__print_versionObject



16
17
18
# File 'lib/toccatore/cli.rb', line 16

def __print_version
  puts Toccatore::VERSION
end

#orcid_updateObject



29
30
31
32
# File 'lib/toccatore/cli.rb', line 29

def orcid_update
  orcid_update = Toccatore::OrcidUpdate.new
  orcid_update.queue_jobs(orcid_update.unfreeze(options))
end