Sha256: a125a4422f72187e6fbd9db3a969fa3e52191205a790f92fe01570af81dcec09

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

class KuberKit::Actions::ServiceReader
  include KuberKit::Import[
    "shell.local_shell",
    "ui",
    service_reader: "service_reader.action_handler",
  ]

  Contract Symbol, Hash => Any
  def call(service_name, options)
    result = service_reader.call(local_shell, service_name)

    ui.print_info(service_name.to_s, result)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kuber_kit-0.1.7 lib/kuber_kit/actions/service_reader.rb
kuber_kit-0.1.6 lib/kuber_kit/actions/service_reader.rb