medienreaktor/contentrepository-commands

medienreaktor ContentRepository Commands

Maintainers

Package info

github.com/medienreaktor/Medienreaktor.ContentRepository.Commands

Type:neos-package

pkg:composer/medienreaktor/contentrepository-commands

Statistics

Installs: 20

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.2 2026-04-16 10:21 UTC

This package is auto-updated.

Last update: 2026-04-16 10:21:53 UTC


README

CLI Commands for the Event Sourced Content Repository of Neos CMS.

Note: This package is still work in progress. Use with care.

Commands

The CLI Commands directly dispatch Commands on the Content Repository. The Content Repository handles the Command and emits the Event to the Event Store.

Create node aggregate

Use cr:createnodeaggregate to create a new node aggregate.

Argument Description Example
contentRepository Identifier of the Content Repository default
workspaceName The workspace in which the create operation is to be performed live
originDimensionSpacePoint The dimension space point in which the new node should be created {"language": "en"}
nodeTypeName Name of the node type of the new node Neos.Neos:Page
parentNodeId The identifier of the parent node aggregate 213b1564-14df-4984-bccd-5c6d003179ef
propertyValues The property key/value pairs to write to the new node {"title": "My new node", "uriPathSegment": "my-new-node"}

If you execute the CLI Command without arguments, all required arguments will be asked interactively. You can pass all arguments in a single line (e.g. to use with Claude or bash scripts) like this:

flow cr:createnodeaggregate
    --contentRepository default
    --workspaceName live
    --originDimensionSpacePoint '{"language": "en"}'
    --nodeTypeName Neos.Neos:Page
    --parentNodeId 213b1564-14df-4984-bccd-5c6d003179ef
    --propertyValues '{"title": "My new node", "uriPathSegment": "my-new-node"}'

Set node properties

Use cr:setnodeproperties to set new properties on existing nodes.

Argument Description Example
contentRepository Identifier of the Content Repository default
workspaceName The workspace in which the set properties operation is to be performed live
nodeAggregateId The identifier of the node aggregate to set the properties for 213b1564-14df-4984-bccd-5c6d003179ef
originDimensionSpacePoint The dimension space point the properties should be changed in {"language": "en"}
propertyValues The property key/value pairs to write to set {"title": "My new title"}

That's it for now. More Commands will be added in the future.