xdotool: How to list all window names

You can list all window names using xdotool with the following command:

xdotool search --onlyvisible --name "" getwindowname %@