def get_steps_kwarg_parsers(cls, method_name):
    """
    Analyze a method to extract the parameters with command line parsers.

    The parser must be a :class:`Param` so it handles parsing of arguments
    coming from the command line. It must be specified in the ``options``
    class attribute.

    :param method_name: name of the method to analyze
    :param cls: class of the method to analyze
    :returns: map of parameter names to their Param object
    """

    method = getattr(cls, method_name)
    meth_options = cls.options.get(method_name, dict())
    return meth_options