Class: KuberKit::Actions::EnvFileReader

Inherits:
Object
  • Object
show all
Defined in:
lib/kuber_kit/actions/env_file_reader.rb

Instance Method Summary collapse

Instance Method Details

#call(env_file_name, options) ⇒ Object



12
13
14
15
16
# File 'lib/kuber_kit/actions/env_file_reader.rb', line 12

def call(env_file_name, options)
  env_file = env_file_store.get(env_file_name)
  result = reader.read(local_shell, env_file)
  ui.print_info(env_file_name.to_s, JSON.pretty_generate(result))
end