def run(args = ARGV)
      @options.parse

      access_evostream?
      execute_runner(two_last_arg(args)) if args.count >= 1
    rescue CodeError::Evostream::ConnectionFailed
      201
    rescue CodeError::Evostream::NoResult
      200
    rescue CodeError::Syntax::CommandInvalid
      101
    rescue CodeError::Syntax::OptionInvalid
      100
    rescue Evostream::Commands::Errors::MissingMandatory => error
      $stdout.puts error.message.red
      50
    rescue CodeError::Finished
      0
    end
def run(args = ARGV)
      @options.parse

      access_evostream?
      execute_runner(two_last_arg(args)) if args.count >= 1
    rescue CodeError::Evostream::ConnectionFailed
      201
    rescue CodeError::Evostream::NoResult
      200
    rescue CodeError::Syntax::CommandInvalid
      101
    rescue CodeError::Syntax::OptionInvalid
      100
    rescue Evostream::Commands::Errors::MissingMandatory => error
      $stdout.puts error.message.red
      50
    rescue CodeError::Finished
      0
    end
rubocop:disable Metrics/MethodLength
 rubocop:disable Naming/RescuedExceptionsVariableName