Skip to content

Commit

Permalink
Merge pull request #90 from wp-cli/update-readme-220
Browse files Browse the repository at this point in the history
Update README.md file
  • Loading branch information
schlessera authored Apr 25, 2019
2 parents 79f9ae8 + 40e9ebd commit b7e6994
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ the database constants are correct.
Gets the value of a specific constant or variable defined in wp-config.php file.

~~~
wp config get <name> [--type=<type>]
wp config get <name> [--type=<type>] [--format=<format>]
~~~

**OPTIONS**
Expand All @@ -175,6 +175,16 @@ wp config get <name> [--type=<type>]
- all
---

[--format=<format>]
Get value in a particular format.
---
default: var_export
options:
- var_export
- json
- yaml
---

**EXAMPLES**

# Get the table_prefix as defined in wp-config.php file.
Expand Down

0 comments on commit b7e6994

Please sign in to comment.