public function __construct($name = null)
{
// The config dependency is static for performance reasons: there are
// always many CommandBase objects instantiated, and the config does not
// need to change.
if (!isset(self::$config)) {
self::$config = new CliConfig();
}
$this->localProject = new LocalProject(self::$config);
parent::__construct($name);
}