class Gaptool::RehashCommand

Public Instance Methods

execute() click to toggle source
# 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