Module netmiko.cli_tools.outputters
Functions
def highlight_regex(text, pattern, highlight_color='red')
-
Highlight text matching a regex pattern using Rich.
def highlight_regex_with_context(text, pattern, highlight_color='red', context_lines=2)
-
Highlight text matching a regex pattern using Rich, showing only the matching lines with a specified number of context lines before and after.
def output_dispatcher(out_format, results, pattern=None)
def output_failed_devices(failed_devices)
def output_json(results, raw=False)
def output_raw(results)
def output_text(results, pattern=None)
def output_yaml(results)