Task to print all the TODOs of an application

Hello developers

Just curious if exists a task or how to create a customized task where it shows in the console/terminal in a printed well formatted structure all the TODOs of the application, it for a single module or multiple module application.

I want other option from the IDE itself through the Tasks view, consider the scenario for example to send to a .log file etc. It simple avoid to open the IDE and get the report through the console/terminal.

Thanks in advance.