Method: Mixlib::Install::Generator::PowerShell#install_command

Defined in:
lib/mixlib/install/generator/powershell.rb

#install_commandObject



46
47
48
49
50
51
52
53
54
55
# File 'lib/mixlib/install/generator/powershell.rb', line 46

def install_command
  install_project_module = []
  install_project_module << get_script("helpers.ps1", user_agent_headers: options.user_agent_headers)
  install_project_module << get_script("get_project_metadata.ps1")
  install_project_module << get_script("install_project.ps1")
  install_command = []
  install_command << ps1_modularize(install_project_module.join("\n"), "Omnitruck")
  install_command << render_command
  install_command.join("\n\n")
end