class ChefCLI::Command::Undelete

def run(params)

def run(params)
  return 1 unless apply_params!(params)
  if list_undo_records?
    undelete_service.list
  else
    undelete_service.run
  end
  0
rescue PolicyfileServiceError => e
  handle_error(e)
  1
end