Skip to content

Commit d9f7f08

Browse files
Merge pull request wp-cli#208 from wp-cli/document-yaml-options
Document special arguments for `wp-cli.yml`
2 parents 67cc703 + 4b3a0ed commit d9f7f08

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

config/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,13 @@ Here's an annotated example `wp-cli.yml` file:
9494
user: wpcli
9595
path: /srv/www/wp-cli.org
9696

97+
# '_' is a special value denoting configuration options for this wp-cli.yml
98+
_:
99+
# Merge subcommand defaults from the upstream config.yml, instead of overriding
100+
merge: true
101+
# Inherit configuration from an arbitrary YAML file
102+
inhert: prod.yml
103+
97104
## Environment variables
98105

99106
WP-CLI's behavior can be changed at runtime through the use of environment variables:

0 commit comments

Comments
 (0)