Sha256: 41bdbe78ec4f400a20d5a3b708213f1ffdc67d3224fadc0af6742177248b2afc
Contents?: true
Size: 733 Bytes
Versions: 4
Compression:
Stored size: 733 Bytes
Contents
require "digicert" 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 def self.run(arguments) if arguments.include?("--debug") arguments.delete("--debug") Digicert.configuration.debug_mode = true Digicert::CLI::Command.start(arguments) Digicert.configuration.debug_mode = true else Digicert::CLI::Command.start(arguments) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
digicert-cli-1.0.0 | lib/digicert/cli/util.rb |
digicert-cli-0.5.2 | lib/digicert/cli/util.rb |
digicert-cli-0.5.1 | lib/digicert/cli/util.rb |
digicert-cli-0.5.0 | lib/digicert/cli/util.rb |