flownative/nodeduplicator

Copy nodes from one dimension to another to create a base for translating for example.

Installs: 2 529

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 2

Forks: 4

Type:neos-package

0.2.2 2020-12-17 15:12 UTC

This package is auto-updated.

Last update: 2021-04-17 15:45:40 UTC


README

MIT license Packagist Maintenance level: Acquaintance

Flownative.NodeDuplicator

Copy nodes from one dimension to another to create a base for translating for example or to change your dimensions around.

Installation

Install the package via composer:

composer require flownative/nodeduplicator

Usage

./flow node:adopt <rootNodeByPathOrIdentifier> <dimensionStringToCopyFrom> <dimensionStringToCopyTo> [<workspaceName (default to "live")>]

An actual example for the demo site is:

./flow node:adopt "/sites/neosdemo" "language=en_US" "language=dk"

This would start with the homepage of the demo site, use the dimension values language => en_US as base for the copy and language=dk as target for the copy. As the workspaceName was omitted it defaults to live.