Sha256: 2ce2189162b1abdb2feb44fa6558a26cb294a05ec7a511a8a18140142ce91867
Contents?: true
Size: 431 Bytes
Versions: 4
Compression:
Stored size: 431 Bytes
Contents
require "terminal-table" module Digicert module CLI module Util def self.make_it_pretty(headings:, rows:, table_wdith: 100) Terminal::Table.new do |table| table.headings = headings table.style = { width: table_wdith } 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
digicert-cli-0.4.1 | lib/digicert/cli/util.rb |
digicert-cli-0.4.0 | lib/digicert/cli/util.rb |
digicert-cli-0.3.0 | lib/digicert/cli/util.rb |
digicert-cli-0.2.0 | lib/digicert/cli/util.rb |