I changed the default “site” folder name to be the name of my site but after that the trellis-cli commands no longer working because trellis-cli check about the existence of the “site” folder as shown here:
but I figured that if I entered the “trellis” folder then run the trellis-cli commands it works.
So is it safe to run the trellis-cli commands from inside the “trellis” folder or not?
Yeah that’s right sorry It will work directly in any trellis folder.
I’m probably going to remove that site check entirely which will make this more flexible for other setups like yours. I realized it’s not doing anything functional; it was originally meant to cut down on false positives but detecting a “trellis” folder with 1) group_vars configs and 2) a .trellis config dir is enough on its own.