Exemplo n.º 1
0
def get_provider_help(session):
    provider = session.get_variable('provider')
    cli_data = rstgen.get_cli_data(session, provider)
    rst_contents = six.StringIO()
    rstgen.gen_man(session, provider=provider, cli_data=cli_data,
                   fp=rst_contents)
    render_docs(_encode_contents(rst_contents))
Exemplo n.º 2
0
def get_provider_help(session):
    provider = session.get_variable('provider')
    cli_data = rstgen.get_cli_data(session, provider)
    rst_contents = six.StringIO()
    rstgen.gen_man(session,
                   provider=provider,
                   cli_data=cli_data,
                   fp=rst_contents)
    render_docs(_encode_contents(rst_contents))
Exemplo n.º 3
0
def get_operation_help(session, service, operation):
    rst_contents = six.StringIO()
    rstgen.gen_man(session, operation=operation, fp=rst_contents)
    render_docs(_encode_contents(rst_contents))
Exemplo n.º 4
0
def get_service_help(session, service):
    rst_contents = six.StringIO()
    rstgen.gen_man(session, service=service, fp=rst_contents)
    render_docs(_encode_contents(rst_contents))
Exemplo n.º 5
0
def get_operation_help(session, service, operation):
    rst_contents = six.StringIO()
    rstgen.gen_man(session, operation=operation, fp=rst_contents)
    render_docs(_encode_contents(rst_contents))
Exemplo n.º 6
0
def get_service_help(session, service):
    rst_contents = six.StringIO()
    rstgen.gen_man(session, service=service, fp=rst_contents)
    render_docs(_encode_contents(rst_contents))