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 unload an "Example" plugin, run `cake plugin unload Example`.'); return false; } return (bool) $this->_modifyBootstrap($plugin); }