Created
September 23, 2015 12:55
-
-
Save vivianspencer/7befda19eb302b26aed0 to your computer and use it in GitHub Desktop.
Bulk generate WordPress posts using WP-CLI and the Bacon Ipsum API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for n in {1..5}; do curl 'https://baconipsum.com/api/?type=meat-and-filler¶s=5&format=html' | wp post generate --count=1 --post_content; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment