Micronaut CLI has a new command: feature-diff
that produces the diff of an original project with an original project with additional features specified as a parameter.
Example of a command with reactor feature:
mn feature-diff --features=reactor
Which generates something like this:

You can store the differences in a file and apply it to your project:
mn feature-diff --features=reactor > reactor-features.diff
patch -i reactor-features.diff
Note Micronout CLI provides -f
, --force
option to override existing files, however, that option didn't work for me, hence patch option as a workaround.