Class: Toccatore::CLI
- Inherits:
-
Thor
- Object
- Thor
- Toccatore::CLI
- Defined in:
- lib/toccatore/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
7 8 9 |
# File 'lib/toccatore/cli.rb', line 7 def self.exit_on_failure? true end |
Instance Method Details
#__print_version ⇒ Object
15 16 17 |
# File 'lib/toccatore/cli.rb', line 15 def __print_version puts Toccatore::VERSION end |
#datacite_related ⇒ Object
43 44 45 46 |
# File 'lib/toccatore/cli.rb', line 43 def = Toccatore::DataciteRelated.new .queue_jobs(.unfreeze()) end |
#orcid_update ⇒ Object
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()) end |