code: def positive_integer(value):
      
      try:
          value = int(value)
      except Exception:
          raise argparse.ArgumentTypeError('Invalid int value: \'{}\''.format(value))
      if value < 0:
          raise argparse.ArgumentTypeError('Invalid positive int value: \'{}\''.format(value))
      return value
docs: Ensure that the provided value is a positive integer.
  
      Parameters
      ----------
      value: int
          The number to evaluate
  
      Returns
      -------
      value: int
          Returns a positive integer