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

Returns:

  • (Boolean)


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

def self.exit_on_failure?
  true
end

Instance Method Details

#__print_versionObject



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

def __print_version
  puts Toccatore::VERSION
end


43
44
45
46
# File 'lib/toccatore/cli.rb', line 43

def datacite_related
  datacite_related = Toccatore::DataciteRelated.new
  datacite_related.queue_jobs(datacite_related.unfreeze(options))
end

#orcid_updateObject



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

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