Exemplo n.º 1
0
def runner(mod_name="*"):
    """
    Return all inline documentation for runner modules

    CLI Example:

    .. code-block:: bash

        salt-run doc.runner
    """
    client = salt.runner.RunnerClient(__opts__)
    if mod_name == "*":
        ret = client.get_docs()
    else:
        ret = client.get_docs(mod_name)
    return ret
Exemplo n.º 2
0
def wheel():
    '''
    Return all inline documentation for wheel modules
    '''
    client = salt.wheel.Wheel(__opts__)
    ret = client.get_docs()
    salt.output.display_output(ret, '', __opts__)
    return ret
Exemplo n.º 3
0
def runner():
    '''
    Return all inline documetation for runner modules
    '''
    client = salt.runner.RunnerClient(__opts__)
    ret = client.get_docs()
    salt.output.display_output(ret, '', __opts__)
    return ret
Exemplo n.º 4
0
Arquivo: doc.py Projeto: herlo/salt
def wheel():
    '''
    Return all inline documentation for wheel modules
    '''
    client = salt.wheel.Wheel(__opts__)
    ret = client.get_docs()
    salt.output.display_output(ret, '', __opts__)
    return ret
Exemplo n.º 5
0
Arquivo: doc.py Projeto: herlo/salt
def runner():
    '''
    Return all inline documetation for runner modules
    '''
    client = salt.runner.RunnerClient(__opts__)
    ret = client.get_docs()
    salt.output.display_output(ret, '', __opts__)
    return ret
Exemplo n.º 6
0
Arquivo: doc.py Projeto: zeus911/ops
def wheel():
    '''
    Return all inline documentation for wheel modules

    CLI Example:

    .. code-block:: bash

        salt-run doc.wheel
    '''
    client = salt.wheel.Wheel(__opts__)
    ret = client.get_docs()
    return ret
Exemplo n.º 7
0
Arquivo: doc.py Projeto: zeus911/ops
def runner():
    '''
    Return all inline documentation for runner modules

    CLI Example:

    .. code-block:: bash

        salt-run doc.runner
    '''
    client = salt.runner.RunnerClient(__opts__)
    ret = client.get_docs()
    return ret
Exemplo n.º 8
0
Arquivo: doc.py Projeto: bryson/salt
def wheel():
    '''
    Return all inline documentation for wheel modules

    CLI Example:

    .. code-block:: bash

        salt-run doc.wheel
    '''
    client = salt.wheel.Wheel(__opts__)
    ret = client.get_docs()
    return ret
Exemplo n.º 9
0
Arquivo: doc.py Projeto: bryson/salt
def runner():
    '''
    Return all inline documentation for runner modules

    CLI Example:

    .. code-block:: bash

        salt-run doc.runner
    '''
    client = salt.runner.RunnerClient(__opts__)
    ret = client.get_docs()
    return ret
Exemplo n.º 10
0
def wheel():
    """
    Return all inline documentation for wheel modules

    CLI Example:

    .. code-block:: bash

        salt-run doc.wheel
    """
    client = salt.wheel.Wheel(__opts__)
    ret = client.get_docs()
    salt.output.display_output(ret, "", __opts__)
    return ret
Exemplo n.º 11
0
def runner():
    """
    Return all inline documentation for runner modules

    CLI Example:

    .. code-block:: bash

        salt-run doc.runner
    """
    client = salt.runner.RunnerClient(__opts__)
    ret = client.get_docs()
    salt.output.display_output(ret, "", __opts__)
    return ret