Roots Discourse

Issue with wp-cli in bedrock with local by flywheel

I configure bedrock with local by flywheel. I trying to implement the script but it not work. I figure out how to configure the staging with wp-cli alias, but now wp-cli not connect to the local site. The site is working, the admin is accessible, but from wp-cli, it not detect the installation folder and when they detect the installation they not work just say it not connect to the database.

I’m start a fresh environment and the wp-cli is not working with bedrock and local by flywheel by default from the host machina. I will appreciate any help on this.