addArgument('database', sfCommandArgument::OPTIONAL, 'Optional database name'); $this->addOptions(array( new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application name'), new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'), new sfCommandOption('connection', null, sfCommandOption::PARAMETER_REQUIRED, 'The connection name', 'doctrine'), new sfCommandOption('loglevel', 'l', sfCommandOption::PARAMETER_REQUIRED, 'Log level', 'info'), )); $this->namespace = 'isis'; $this->name = 'info'; $this->briefDescription = 'List information of ISIS databases'; $this->detailedDescription = <<logSection('isis', 'Error opening ISIS database.'); return FALSE; } // Database information. $isis->info($this, 'task', $arguments['database']); } }