[Yii 2] [Solved] ./init not interactive

Is there a way to do the ./init for creating local environment config file without user interaction?

Like --interactive=0 for yii migrate … ?

I resolved with




echo -e "0" | ./init