code: def convert_arguments(value):
      
      if isinstance(value, (list, tuple)):
          return [
              CommandLineBinding(**item) if isinstance(item, dict) else item
              for item in value
          ]
      return shlex.split(value)
docs: Convert arguments from various input formats.