Method: Inspec::Shell#print_target_info

Defined in:
lib/inspec/shell.rb


102
103
104
105
106
107
108
109
# File 'lib/inspec/shell.rb', line 102

def print_target_info
  ctx = @runner.backend
  puts <<~EOF
    You are currently running on:

    #{Inspec::BaseCLI.format_platform_info(params: ctx.platform.params, indent: 4, color: 39)}
  EOF
end