lib/sample_cmdlet_patterns/commands/key_reader_read_keypress.rb
def execute(input: $stdin, output: $stdout)
        heading 'Press a key'
        puts reader.read_keypress

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


Execute KeyReaderReadKeypress subcommand taking input from a input stream and writing to output stream
def execute(input: $stdin, output: $stdout)
        heading 'Press a key'
        puts reader.read_keypress
        :gui
      end
def execute ( input : $stdin , output : $stdout ) heading 'Press a key' puts reader . read_keypress :gui end
Execute KeyReaderReadKeypress subcommand taking input from
a input stream and writing to output stream
Execute KeyReaderReadKeypress subcommand taking input from a input stream and writing to output stream
input
output