Sha256: 25362c2e38b8ca0d2807bd4db748cafab46313ed1b4e0877830841fd813131ce
Contents?: true
Size: 463 Bytes
Versions: 14
Compression:
Stored size: 463 Bytes
Contents
# frozen_string_literal: true require_relative 'base_operation' module Esse module CLI class Index::Create < Index::BaseOperation def run validate_options! indices.each do |index| index.create_index(**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