Sha256: 0558dcd33973f31d0460b9ad62c8b90da4dccc482c6cc8eb037bf3f45fab7d3a
Contents?: true
Size: 559 Bytes
Versions: 4
Compression:
Stored size: 559 Bytes
Contents
# frozen_string_literal: true require 'thor' module Uffizzi module UI class Shell def initialize @shell = Thor::Shell::Basic.new end def say(message) @shell.say(message) end def ask(msg, *args) @shell.ask(msg, *args) end def print_in_columns(messages) @shell.print_in_columns(messages) end def print_table(table_data) @shell.print_table(table_data) end def last_message @shell.send(:stdout).string.strip end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
uffizzi-cli-0.4.0 | lib/uffizzi/shell.rb |
uffizzi-cli-0.3.8 | lib/uffizzi/shell.rb |
uffizzi-cli-0.3.7 | lib/uffizzi/shell.rb |
uffizzi-cli-0.3.6 | lib/uffizzi/shell.rb |