class Crowbar::Client::App::Role

A Thor based CLI wrapper for role commands

Public Instance Methods

list(barclamp) click to toggle source
# File lib/crowbar/client/app/role.rb, line 72
def list(barclamp)
  Command::Role::List.new(
    *command_params(
      barclamp: barclamp
    )
  ).execute
rescue => e
  catch_errors(e)
end
show(barclamp, role) click to toggle source
# File lib/crowbar/client/app/role.rb, line 130
def show(barclamp, role)
  Command::Role::Show.new(
    *command_params(
      barclamp: barclamp,
      role: role
    )
  ).execute
rescue => e
  catch_errors(e)
end