Sha256: bb9475c9f8d904b769b2f538825e715752bf55022b1835f4acf8dcafef9be1be

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

require "terminal-table"

module Digicert
  module CLI
    module Util
      def self.make_it_pretty(headings:, rows:)
        Terminal::Table.new do |table|
          table.headings = headings
          table.rows = rows
        end
      end

      def self.say(message, color = nil)
        Thor::Shell::Basic.new.say(message, color)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
digicert-cli-0.4.2 lib/digicert/cli/util.rb