Skip to content

Commit bbc6849

Browse files
authored
docs: add --format example to wp language core list
Adds a usage example using the --format=json flag to show how to return installed languages in JSON format.
1 parent 1f1ca0c commit bbc6849

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,10 @@ Downloads the language pack from WordPress.org. Find your language code at: http
175175

176176

177177
### wp language core list
178+
#### Example with --format flag:
178179

180+
```bash
181+
$ wp language core list --status=installed --format=json
179182
Lists all available languages.
180183

181184
~~~

0 commit comments

Comments
 (0)