WP-CLI Base command
A PHP class which you can use as a starting point for your WP-CLI command when working with (large) imports. It loads and even lighter version of WordPress and has the ability to clear up memory after you have bulk imported data and still want to proceed importing more.