Skip to content

Ability to set environment variables in wp-cli.yml #5566

@tomsommer

Description

@tomsommer

Sometimes environment variables (https://make.wordpress.org/cli/handbook/references/config/#environment-variables) are not available in the shell for wp-cli, and thus it would be nice to be able to set these in wp-cli.yml

Example would be to configure WP_CLI_CACHE_DIR etc. using the wp-cli.yml file.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions