Class: PsCommand

Inherits:
Command show all
Defined in:
lib/ukku/ps_command.rb

Instance Method Summary collapse

Methods inherited from Command

#load_app_info

Instance Method Details

#execute(args) ⇒ Object



2
3
4
5
6
7
8
9
# File 'lib/ukku/ps_command.rb', line 2

def execute(args)
  type = args['TYPE']

  app_info = load_app_info(args)

  conn = Connection.new(app_info)
  conn.execute("ls /etc/ukku/ps-types")
end