lib/sample_cmdlet_patterns/commands/table_multiline.rb
def execute(input: $stdin, output: $stdout)
        table = TTY::Table.new [ ["First", '1'], ["Multi\nLine\nContent", '2'], ["Third", '3']]
        puts table.render :ascii, multiline: true

        :gui
      end
# Execute TableMultiline subcommand taking input from
# a input stream and writing to output stream
#
# sample: output.puts 'OK'
Execute TableMultiline subcommand taking input from
a input stream and writing to output stream


Execute TableMultiline subcommand taking input from a input stream and writing to output stream
def execute(input: $stdin, output: $stdout)
        table = TTY::Table.new [ ["First", '1'], ["Multi\nLine\nContent", '2'], ["Third", '3']]
        puts table.render :ascii, multiline: true
        :gui
      end
def execute ( input : $stdin , output : $stdout ) table = TTY :: Table . new [ [ "First" , '1' ] , [ "Multi\nLine\nContent" , '2' ] , [ "Third" , '3' ] ] puts table . render :ascii , multiline : true :gui end
Execute TableMultiline subcommand taking input from
a input stream and writing to output stream
Execute TableMultiline subcommand taking input from a input stream and writing to output stream
input
output