Sha256: f32f6d8615f536022395b5eba5a8b975c6d9c8f1fb6cef5af683bff093aa1c33
Contents?: true
Size: 455 Bytes
Versions: 14
Compression:
Stored size: 455 Bytes
Contents
# frozen_string_literal: true require_relative 'base_operation' module Esse module CLI class Index::Close < Index::BaseOperation def run validate_options! indices.each do |index| index.close(**options) end end private def options @options.slice(*@options.keys - CLI_IGNORE_OPTS) end def validate_options! validate_indices_option! end end end end
Version data entries
14 entries across 14 versions & 1 rubygems