code: def parse_arg(arg: str) -> typing.Tuple[str, typing.Any]:
      
      assert '=' in arg, 'Unrecognized argument `{}`. [name]=[value] expected.'.format(arg)
  
      key = arg[:arg.index('=')]
      value = yaml.load(arg[arg.index('=') + 1:])
  
      return key, value
docs: Parse CLI argument in format ``key=value`` to ``(key, value)``
  
      :param arg: CLI argument string
      :return: tuple (key, value)
      :raise: yaml.ParserError: on yaml parse error