GPIOreadall is a replacement for the deprecated wiringpi gpio readall utility on Raspberry Pi.
GPIOreadall has the advantage of displaying the ACTUAL programmed GPIO function set by Device Tree on boot rather than the default.
GPIOreadall runs on all Pi models with 40 pin expansion header, including Pi4 and Raspberry Pi Model B Rev 2 with 26 pin expansion header.
GPIOreadall runs on Raspberry Pi OS Stretch and Buster and requires no additional libraries as it uses the raspi-gpio debug tool
gpioreadall.py by default displays power pins in colour.
To restore non-coloured output uncomment the 2 lines # non-coloured output and comment out # coloured output.