Module RHC::Helpers
In: lib/rhc/helpers.rb

Methods

Included Modules

Commander::UI Commander::UI::AskForClass RHC::OutputHelpers

Classes and Modules

Class RHC::Helpers::StringTee

Constants

MAX_RETRIES = 7
DEFAULT_DELAY_THROTTLE = 2.0
SSLVersion = Class.new){ |s| OpenSSL::SSL::SSLContext::METHODS.find{ |m| m.to_s.downcase == s.downcase } or raise OptionParser::InvalidOption.new(nil, "The provided SSL version '#{s}' is not valid. Supported values: #{OpenSSL::SSL::SSLContext::METHODS.map(&:to_s).map(&:downcase).join(', ')}") }

Public Instance methods

OVERRIDE: Replaces default commander behavior

Check if host exists

Output helpers

Platform helpers

results

highline helper which creates a paragraph with a header to distinguish the final results of a command from other output

Run a command and export its output to the user. Output is not capturable on all platforms.

This will format table headings for a consistent look and feel

  If a heading isn't explicitly defined, it will attempt to look up the parts
  If those aren't found, it will capitalize the string

Web related requests

[Validate]