Class: Cirneco::CLI
- Inherits:
-
Thor
- Object
- Thor
- Cirneco::CLI
- Defined in:
- lib/cirneco/cli.rb
Constant Summary
Constants included from Utils
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Utils
#decode_doi, #encode_doi, #generate_accession_number, #get_dois_by_prefix
Methods included from Api
#delete_metadata, #get_doi, #get_dois, #get_media, #get_metadata, #post_media, #post_metadata, #put_doi, #put_metadata
Class Method Details
.exit_on_failure? ⇒ Boolean
22 23 24 |
# File 'lib/cirneco/cli.rb', line 22 def self.exit_on_failure? true end |
Instance Method Details
#__print_version ⇒ Object
30 31 32 |
# File 'lib/cirneco/cli.rb', line 30 def __print_version puts Cirneco::VERSION end |