Skip to content

Commit 122fa4b

Browse files
bphadamziel
andauthored
wpcli command step (#9)
Small step for wp cli big step for playground ```wp post generate --count=12 --post_type=post --post_date=1999-01-04``` _Props to @ryanwelcher for inspiration_ --------- Co-authored-by: Adam Zielinski <[email protected]>
1 parent ebdd1d2 commit 122fa4b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
3+
"meta": {
4+
"title": "Use wp-cli command to add posts",
5+
"description": "Blueprint example to add posts via a wp-cli command.",
6+
"author": "bph",
7+
"categories": ["Content", "wpcli"]
8+
},
9+
"landingPage": "/wp-admin/edit.php",
10+
"steps":[
11+
{
12+
"step": "login",
13+
"username": "admin",
14+
"password": "password"
15+
},
16+
{
17+
"step": "wp-cli",
18+
"command": "wp post generate --count=12 --post_type=post --post_date=1999-01-04"
19+
}
20+
]
21+
}

0 commit comments

Comments
 (0)