dissect.target.helpers.docs

Module Contents

Functions

get_docstring

Get object's docstring or a placeholder if no docstring found.

get_func_description

get_plugin_functions_desc

get_plugin_description

get_plugin_overview

Attributes

dissect.target.helpers.docs.NO_DOCS = 'No documentation'
dissect.target.helpers.docs.FUNCTION_OUTPUT_DESCRIPTION
dissect.target.helpers.docs.INDENT_STEP = '    '
dissect.target.helpers.docs.FUNC_DOC_TEMPLATE = '{func_name} - {short_description} (output: {output_type})'
dissect.target.helpers.docs.get_docstring(obj: Any, placeholder: str = NO_DOCS) str

Get object’s docstring or a placeholder if no docstring found.

dissect.target.helpers.docs.get_func_description(func: Callable, with_docstrings: bool = False) str
dissect.target.helpers.docs.get_plugin_functions_desc(plugin_class: type[dissect.target.plugin.Plugin], with_docstrings: bool = False) str
dissect.target.helpers.docs.get_plugin_description(plugin_class: type[dissect.target.plugin.Plugin]) str
dissect.target.helpers.docs.get_plugin_overview(plugin_class: type[dissect.target.plugin.Plugin], with_plugin_desc: bool = False, with_func_docstrings: bool = False) str