class YleTfPlugins::CommandShell::Command

Public Instance Methods

execute(_env) click to toggle source
# File lib/yle_tf_plugins/commands/_shell/command.rb, line 6
def execute(_env)
  shell = ENV.fetch('SHELL', 'bash')

  puts "Executing shell '#{shell}' in the Terraform directory"
  puts 'Use `exit` to quit'
  puts

  system(shell)
end