diff --git a/README.md b/README.md index 334297f..c252110 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,12 @@ Adds new console command to spryker, which uses the imported category data to generate a navigation_node.csv based on the category-tree. ## Usage: -``` -vendor/bin/console data:generate:navigation-node -``` -### Configuration: +1. Register console command: add `NavigationGeneratorConsole` to `Pyz\Zed\Console\ConsoleDependencyProvider::getConsoleCommands()` +2. Run command: + ``` + vendor/bin/console data:generate:navigation-node + ``` +## Configuration: * `NavigationGeneratorConstants::OUTPUT_PATH` (Default: `APPLICATION_ROOT_DIR . '/data/import/common/common/navigation_node.csv'`) * `NavigationGeneratorConstants::FALLBACK_LOCALE` (Default: `de_DE`, is used when for a configured locale no category data is available) * `NavigationGeneratorConstants::NAVIGATION_KEY` (Default: `MAIN_NAVIGATION`)