Class: Crowbar::Client::App::Installer

Inherits:
Base
  • Object
show all
Defined in:
lib/crowbar/client/app/installer.rb

Overview

A Thor based CLI wrapper for installer commands

Instance Method Summary collapse

Methods inherited from Base

banner, handle_argument_error, #initialize

Constructor Details

This class inherits a constructor from Crowbar::Client::App::Base

Instance Method Details

#startObject

Installer start command

It will trigger the installation of the server.



108
109
110
111
112
113
114
# File 'lib/crowbar/client/app/installer.rb', line 108

def start
  Command::Installer::Start.new(
    *command_params
  ).execute
rescue => e
  catch_errors(e)
end

#statusObject

Installer status command

It will print out information about the current status of the installer. You can display the list in different output formats and you can filter the list by any search criteria.



78
79
80
81
82
83
84
# File 'lib/crowbar/client/app/installer.rb', line 78

def status
  Command::Installer::Status.new(
    *command_params
  ).execute
rescue => e
  catch_errors(e)
end