wp-cli/wp-cli — pull request #385 by danielbachhuber (2013-04-12 16:35:58+00:00)
Title: --context flag for determining the context in which WordPress is loaded

It's a good approach, but not great. I partially feel like we need to alter the entire wp-cli load process (e.g. requiring `wp-admin/index.php`) in order to properly load the admin context. Opinions welcome.