Neos\Kickstarter\Command\KickstartCommandController::documentationCommand PHP Method

documentationCommand() public method

Generates a documentation skeleton for the given package.
public documentationCommand ( string $packageKey ) : string
$packageKey string The package key of the package for the documentation
return string
    public function documentationCommand($packageKey)
    {
        $this->validatePackageKey($packageKey);
        if (!$this->packageManager->isPackageAvailable($packageKey)) {
            $this->outputLine('Package "%s" is not available.', array($packageKey));
            exit(2);
        }
        $generatedFiles = $this->generatorService->generateDocumentation($packageKey);
        $this->outputLine(implode(PHP_EOL, $generatedFiles));
    }