class Raykit::Command

def summary(show_directory = false)

def summary(show_directory = false)
  #checkmark = "\u2713"

  # warning="\u26A0"

  #error = "\u0058"

  #symbol = Rainbow(checkmark.encode("utf-8")).green

  #symbol = Rainbow(error.encode("utf-8")).red if @exitstatus != 0

  symbol = Raykit::Symbols::warning
  symbol = Raykit::Symbols::checkmark if !@exitstatus.nil? && @exitstatus.zero?
  symbol = Raykit::Symbols::error if @exitstatus != 0
  cmd = "#{Rainbow(SECRETS.hide(@command)).yellow}"
  if show_directory
    puts "#{symbol} #{cmd} " + Rainbow("#{elapsed_str}").cyan
    puts Rainbow("  #{@directory}").white + " "
  else
    puts "#{symbol} #{Rainbow(SECRETS.hide(@command)).yellow} " + Rainbow("#{elapsed_str}").cyan
    #puts "#{symbol} #{Rainbow(SECRETS.hide(@command)).yellow} (#{elapsed_str})"

  end
  self
end