How to post content to a WordPress blog from the command line


WordPress is a great publishing system, but managing it manually can be a very time consuming process. This is especially true when you want to upload lots of posts, or if you would like to write content in your preferred, full-blown text editor and then have it “magically” appear online. Eventually, I wrote a script around the WordPress-CLI utility and have already used it successfully to upload hundreds of posts to several of my WordPress websites