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
45 46 47 48 |
# File 'lib/toccatore/cli.rb', line 45 def = Toccatore::.new .queue_jobs(.unfreeze()) end |
#orcid_update ⇒ Object
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()) end |
#usage_update ⇒ Object
57 58 59 60 |
# File 'lib/toccatore/cli.rb', line 57 def usage_update usage_update = Toccatore::UsageUpdate.new usage_update.queue_jobs(usage_update.unfreeze()) end |