ContentCommandController
final class ContentCommandController extends CommandController (View source)
Methods
void
createVariantsRecursivelyCommand(string $source, string $target, string $contentRepository = 'default', string $workspace = WorkspaceName::WORKSPACE_NAME_LIVE)
Creates node variants recursively from the source to the target dimension space point in the specified workspace and content repository.
Details
__construct(ContentRepositoryRegistry $contentRepositoryRegistry)
No description
void
createVariantsRecursivelyCommand(string $source, string $target, string $contentRepository = 'default', string $workspace = WorkspaceName::WORKSPACE_NAME_LIVE)
Creates node variants recursively from the source to the target dimension space point in the specified workspace and content repository.
This can be necessary if a new content dimension specialization was added (for example a more specific language)
Note: source and target dimensions have to be specified as JSON, for example:
./flow content:createvariantsrecursively '{"language": "de"}' '{"language": "de_ch"}'