pressbooks / local-dev-environment

This repository uses Lando/Docker to provision a local instance of Pressbooks for testing and development by open source contributors.
1 stars 1 forks source link

feat: add wp-cli.yml to facility WP CLI usage #4

Closed greatislander closed 3 months ago

greatislander commented 3 months ago

If I run lando wp plugin list (for example) I get the following error:

Error: This does not seem to be a WordPress installation.
The used path is: /app/
Pass --path=`path/to/wordpress` or run `wp core download`.

Adding this WP CLI config file lets one run lando wp without issues from the root of the project.