Class: Gtmtech::Crypto::Subcommands::Version

Inherits:
Gtmtech::Crypto::Subcommand show all
Defined in:
lib/gtmtech/crypto/subcommands/version.rb

Class Method Summary collapse

Methods inherited from Gtmtech::Crypto::Subcommand

all_options, error, find, hidden?, parse, prettyname, usage, validate

Class Method Details

.descriptionObject



18
19
20
# File 'lib/gtmtech/crypto/subcommands/version.rb', line 18

def self.description
  "output version information"
end

.executeObject



14
15
16
# File 'lib/gtmtech/crypto/subcommands/version.rb', line 14

def self.execute
  puts "gtmtech-crypto v#{Gtmtech::Crypto::VERSION}"
end

.optionsObject



10
11
12
# File 'lib/gtmtech/crypto/subcommands/version.rb', line 10

def self.options
  []
end