Class: Islo::Postgres::Client

Inherits:
Command
  • Object
show all
Defined in:
lib/islo/commands/postgres.rb

Overview

PostgreSQL client

Instance Attribute Summary

Attributes inherited from Command

#command, #title, #wd

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Command

#exec, #initialize, #title?

Constructor Details

This class inherits a constructor from Islo::Command

Class Method Details

.nameObject



8
9
10
# File 'lib/islo/commands/postgres.rb', line 8

def self.name
  :psql
end

Instance Method Details

#argsObject



12
13
14
# File 'lib/islo/commands/postgres.rb', line 12

def args
  %W(--host=#{wd}/tmp/sockets) + super
end