Sha256: b5df0d5b42d3810517b9b5e1dd7139d06c0ea47fcbacdfc00258fc70f4f10085
Contents?: true
Size: 598 Bytes
Versions: 7
Compression:
Stored size: 598 Bytes
Contents
# encoding: utf-8 module GithubCLI class UI attr_writer :shell def initialize(shell) @shell = shell end def confirm(message) @shell.say message, :green end def info(message) @shell.say message, nil end def warn(message) @shell.say message, :yellow end def error(message) @shell.say message, :red end def debug(message) @shell.say message end def debug! @debug = true end def print_table(table, options={}) @shell.print_table table, options end end # UI end # GithubCLI
Version data entries
7 entries across 7 versions & 1 rubygems