protected function _getCommand() { $application = $this->getApplication(); $application->add(new CreateCommand()); // try to create a customer with a password < 6 chars $command = $this->getApplication()->find('customer:create'); return $command; }