lib/poc_sample_commands/commands/progress_bar.rb
# Execute ProgressBar command taking input from a input stream
# and writing to output stream
#
# sample: output.puts 'OK'
Execute ProgressBar command taking input from a input stream
and writing to output stream


Execute ProgressBar command taking input from a input stream and writing to output stream
def execute(input: $stdin, output: $stdout)
        case @subcommand
        when :gui
          gui
        when :basic
          require_relative 'progress_bar_basic'
          subcmd = PocSampleCommands::Commands::ProgressBarBasic.new({})
        end
        subcmd.execute(input: input, output: output) if subcmd
      end
def execute ( input : $stdin , output : $stdout ) case @subcommand when :gui gui when :basic require_relative 'progress_bar_basic' subcmd = PocSampleCommands :: Commands :: ProgressBarBasic . new ( { } ) end subcmd . execute ( input : input , output : output ) if subcmd end
Execute ProgressBar command taking input from a input stream
and writing to output stream
Execute ProgressBar command taking input from a input stream and writing to output stream
input
<not_specific>
output
<not_specific>