lib/sample_cmdlet_patterns/commands/markdown_list.rb
# Execute MarkdownList subcommand taking input from
# a input stream and writing to output stream
#
# sample: output.puts 'OK'
Execute MarkdownList subcommand taking input from
a input stream and writing to output stream


Execute MarkdownList subcommand taking input from a input stream and writing to output stream
def execute(input: $stdin, output: $stdout)
        markdown = <<~MARKDOWN
          - Item 1
            - Item 2
            - Item 3
              - Item 4
          - Item 5
        MARKDOWN
        parsed = TTY::Markdown.parse(markdown)
        puts parsed
        :gui
      end
def execute ( input : $stdin , output : $stdout ) markdown = <<~MARKDOWN 
          - Item 1
            - Item 2
            - Item 3
              - Item 4
          - Item 5
         MARKDOWN parsed = TTY :: Markdown . parse ( markdown ) puts parsed :gui end
Execute MarkdownList subcommand taking input from
a input stream and writing to output stream
Execute MarkdownList subcommand taking input from a input stream and writing to output stream
input
output