Class: Gaptool::RehashCommand

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

Instance Method Summary collapse

Instance Method Details

#executeObject



377
378
379
380
381
382
383
# File 'lib/gaptool-client.rb', line 377

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