I want to create a custom WP CLI command and I have read the documentation but I just don't understand for the life of me how this works.
Do I need to declare it before in my config file where they are gonna go?
Is it a PHP file? If so, I need to declare it put it anywhere inside my theme?
Thank you in advance.