This is the snap for Cheat, "cheat allows you to create and view interactive cheatsheets on the command-line.". It works on Ubuntu, Fedora, Debian, and other major Linux distributions.
I didn't make cheat
, I have only made a snap of it. It was created by chrisallenlane and you can view his original project here.
sudo snap install cheat-snap