class Pechkin::Command::List

List channels configuration

Public Instance Methods

execute() click to toggle source
# File lib/pechkin/command/list.rb, line 12
def execute
  cfg = configuration

  puts "Working dir: #{cfg.working_dir}"
  print_bots(cfg.bots)
  print_channels(cfg.channels)
end
matches?() click to toggle source
# File lib/pechkin/command/list.rb, line 8
def matches?
  options.list?
end

Private Instance Methods

print_bots(bots) click to toggle source
print_channels(channels) click to toggle source