WordPress on the Command Line – It’s not so scary!
Like many environments, WordPress can be a bit cumbersome to work with when you’re locked into using the GUI that is provided, when there is so much more that can be done on via a Command Line Interface (CLI.) To truly unlock the full power of the WordPress API, having a sense for how to work with it via CLI is the key to success.
WordPress Shell is just the start. I will provide guidance on how to create CLI scripts in PHP and in Perl to interface with the WordPress API, as well as demonstrate some higher-level issues with working with WordPress on the command line. I’ll cover how you can explore and experiment with the WordPress API through ctags and the WordPress shell, show how to work with giant data files, and discuss the caveats of importing and exporting large data sets.