Class: Helm::Commands::Servers::List

Inherits:
Command
  • Object
show all
Defined in:
lib/helm/application.rb

Instance Attribute Summary

Attributes inherited from Command

#app_config, #options

Instance Method Summary collapse

Methods inherited from Command

#if_option, #initialize

Constructor Details

This class inherits a constructor from Helm::Commands::Command

Instance Method Details

#executeObject



84
85
86
87
# File 'lib/helm/application.rb', line 84

def execute
  require 'helm/queries/server'
  Helm::Queries::Server.new(app_config.connstring).print
end