Class: Enviera::Subcommands::Version

Inherits:
Enviera::Subcommand show all
Defined in:
lib/enviera/subcommands/version.rb

Class Method Summary collapse

Methods inherited from Enviera::Subcommand

all_options, attach_option, find, hidden?, load_config_file, parse, prettyname, validate

Class Method Details

.descriptionObject



13
14
15
# File 'lib/enviera/subcommands/version.rb', line 13

def self.description
  "show version information"
end

.executeObject



17
18
19
20
21
22
# File 'lib/enviera/subcommands/version.rb', line 17

def self.execute
  Enviera::Utils.info "enviera (core): #{Enviera::VERSION}"

  nil

end

.optionsObject



9
10
11
# File 'lib/enviera/subcommands/version.rb', line 9

def self.options
  []
end