Method: AppRb::Command#clean

Defined in:
lib/app-rb/command.rb

#cleanObject



152
153
154
155
156
# File 'lib/app-rb/command.rb', line 152

def clean
  base = AppRb::Util::Consul.kv_get(@config.consul, @config.app, "base")
  ips = AppRb::Util::Consul.kv_get(@config.consul, @config.app, "nodes").split(",")
  stop_services(ips, base)
end