Top Level Namespace

Defined Under Namespace

Classes: HistWatch, HistoryCommander, HistoryCommanderDaemon, SetupBashrc

Constant Summary collapse

@@options =
saved_opts.merge passed_in_opts

Instance Method Summary collapse

Instance Method Details

#check_optionsObject



29
30
31
32
33
34
35
36
# File 'bin/hc', line 29

def check_options
  [:user, :pass, :vhost, :amqp_host, :mode].each do |req|
    unless @@options[req]
      puts "FATAL: you must specify --#{req} in your history_commander config file or on the command line, see --help"
      exit 1
    end
  end
end

#joinObject

Development ENV only



4
# File 'bin/hc', line 4

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))