public function main($plugin = null) { $this->bootstrap = ROOT . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'bootstrap.php'; if (empty($plugin)) { $this->err('You must provide a plugin name in CamelCase format.'); $this->err('To load an "Example" plugin, run `cake plugin load Example`.'); return false; } return $this->_modifyBootstrap($plugin, $this->params['bootstrap'], $this->params['routes'], $this->params['autoload']); }