Class: Gaptool::RehashCommand

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/gaptool_client/commands.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



371
372
373
374
375
376
377
# File 'lib/gaptool_client/commands.rb', line 371

def execute
  if yes?
    puts Gaptool::API.client.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