With WP CLI we can specify a global configuration file pointing to the path of our WordPress install. This means when SSHing into the server we don't need to navigate to the WordPress directory to issue wp cli commands.
Contents of ~/.wp-cli/config.yml should be the following:
With WP CLI we can specify a global configuration file pointing to the path of our WordPress install. This means when SSHing into the server we don't need to navigate to the WordPress directory to issue wp cli commands.
Contents of
~/.wp-cli/config.yml
should be the following: