Welcome! With every new version of Moodle there is always something new to learn. With every new version of Moodle, seems to me that more and more CLI only scripts are created. They are there for a reason.
Here's something else I do with each new version ... find any cli directory so I can see/explore purpose and decide if they would be useful in admin of a server to which one has cli access:
find ./ -name cli
In the code directory of a 310 renders: