Class: Gaptool::RehashCommand

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/gaptool-client.rb

Instance Method Summary collapse

Instance Method Details

#execute ⇒ Object



253
254
255
256
257
258
259
# File 'lib/gaptool-client.rb', line 253

def execute
  if yes?
    puts $api.rehash()
  else
    puts "You need to run this with -y\nIf you don't know what this does or aren't sure, DO NOT RUN IT\nThis will regenerate all host metadata on gaptool-server\nand can break in-progress operations."
  end
end