wp-cli/wp-cli — pull request #527 by scribu (2013-06-17 00:23:04+00:00)
Title: Move command instance logic out of the WP_CLI class

The WP_CLI class isn't the best place for putting the code that creates CompositeCommand and Subcommand instances.

It belongs in the WP_CLI\Dispatcher namespace, but not in the RootCommand class, which should remain just a container.

Hence, a new class.