You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'd like to set WP_CLI_PACKAGES_DIR env var from the wp-cli config file ( ex. wp-cli.yaml).
The use case is hosting platform which don't allow to set environment variable ( or make it difficult)
The text was updated successfully, but these errors were encountered:
So I've taken a, a look at it.
And the best way it to create a extra config-spec, specifically for the Global variables.
And while we are at it, allow all these variables (that are possible) to be overwritten in this config.
As all entries in the yml are white listed in \WP_CLI\Configurator::merge_yml()
So it's a bit more work then expected at first sight, but this is the best approach IMO.
Hi,
I'd like to set WP_CLI_PACKAGES_DIR env var from the wp-cli config file ( ex. wp-cli.yaml).
The use case is hosting platform which don't allow to set environment variable ( or make it difficult)
The text was updated successfully, but these errors were encountered: