Correct way to reverse setup CLI command

What is the correct way to remove things added with “yarn redwood setup”? For example “yarn redwood setup auth dbAuth” and “yarn redwood setup ui tailwindcss”.

Only the generator CLI commands have a “destroy” counterpart thy removes the generated assets. See Command Line Interface | RedwoodJS Docs

One way to revert is commit to Git often and then pick commits to prune or to reset to.

Or you can simply see the files added and not yet committed and relive manually.

Not and ideal answer, to be sure, but one that works.

2 Likes