I was looking for a way to clear the “template caches” and “compiled templates” from the CLI, as I want to automatically do this after every auto-deploy of the site I've created.
For this I was looking into the
craft binary and its
cache/list command. However, when running
./craft cache/list it only returns me
This felt kind of strange to me, as I was expecting a list similar to the one to be seen in the admin at the URL
So hereby I'm wondering if it's possible to clear any of these caches show above from the CLI. Or is the
cache/clear command for something else that I'm not aware of?