Skip to content

__main__

main() #

This tools outputs from a serial port, like mcu-firmware outputs, and forward them to the logger.

During installation of cogip-tools, a script called cogip-mcu-logger will be created using this function as entrypoint.

Source code in cogip/tools/mcu_logger/__main__.py
42
43
44
45
46
47
48
49
def main():
    """
    This tools outputs from a serial port, like mcu-firmware outputs, and forward them to the logger.

    During installation of cogip-tools, a script called `cogip-mcu-logger`
    will be created using this function as entrypoint.
    """
    typer.run(main_opt)