class Crowbar::Client::App::Server

A Thor based CLI wrapper for server commands

Public Instance Methods

api(barclamp) click to toggle source
# File lib/crowbar/client/app/server.rb, line 32
def api(barclamp)
  Command::Server::Api.new(
    *command_params(
      barclamp: barclamp
    )
  ).execute
rescue => e
  catch_errors(e)
end
check() click to toggle source
# File lib/crowbar/client/app/server.rb, line 87
def check
  Command::Server::Check.new(
    *command_params
  ).execute
rescue => e
  catch_errors(e)
end