contao
contao copied to clipboard
Add option to contao:setup command to disable cache cleaning/warmup
In our deployment we want to skip the cache cleaning after a composer install and do it later.
If you need something different, I would suggest to call the individual commands the ContaoSetupCommand
is calling yourself. It's only a helper, anyways.
The command does more than just call a series of individual commands, so the pull request seems reasonable to me.
so are we adding a --no-symlinks
option etc. as well? The only thing it does in addition to the commands is auto-generate a secret?
I would rather add a command to auto-generate a secret, then. And keep this command as a thin helper that calls the others. 🤔
If you need something different, I would suggest to call the individual commands the
ContaoSetupCommand
is calling yourself. It's only a helper, anyways.
so are we adding a
--no-symlinks
option etc. as well? The only thing it does in addition to the commands is auto-generate a secret?
I agree with you both. @Wusch Can you implement what you need with your own helper?
So this PR can be closed, right?