Skip to content

Conversation

bwaidelich
Copy link
Member

This mainly adds a new cr:replayAll command that can be used to replay all projections of a given Content Repository.
The cr:replay command has been tweaked as well such that it no longer contains the hard-coded list of projections (and aliases).

Besides, the projection can be specified via it's fully qualified class name or by a (case insensitive) alias that equals the short name of the fully qualified projection class name without the Projection suffix.

Note: Thereby the alias graph has been changed to contentGraph!

Example

./flow cr:replay workspace
./flow cr:replay Workspace
./flow cr:replay Neos\\ContentRepository\\Core\\Projection\\Workspace\\WorkspaceProjection
./flow cr:replayAll
./flow cr:replayAll --content-repository "some-other-cr-id"

This mainly adds a new `cr:replayAll` command that can be used to replay all
projections of a given Content Repository.
The `cr:replay` command has been tweaked as well such that it no longer
contains the hard-coded list of projections (and aliases).

Besides, the projection can be specified via it's fully qualified class name or
by a (case insensitive) alias that equals the short name of the fully
qualified projection class name without the `Projection` suffix.

**Note:** Thereby the alias `graph` has been changed to `contentGraph`!

## Example

    ./flow cr:replay workspace
    ./flow cr:replay Workspace
    ./flow cr:replay Neos\\ContentRepository\\Core\\Projection\\Workspace\\WorkspaceProjection
    ./flow cr:replayAll
    ./flow cr:replayAll --content-repository "some-other-cr-id"
@bwaidelich bwaidelich merged commit 2472ab8 into 9.0 Apr 3, 2023
@bwaidelich bwaidelich deleted the feature/improve-cr-commands branch April 3, 2023 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant