Skip to content

slopvac migrate

Shows a diff of every change by default. With –write, rewrites the files and keeps the originals in .slopvac/migrate-backup. Runs the 3.0 engine on your files before and after migration and reports the change per rule.

Usage: slopvac migrate [OPTIONS] [path]
Argument Value Default Description
<PATH> PATH . Project root
--write none false Apply the changes instead of previewing them
--preserve-behavior none false Reproduce the 2.x profile gates with the core:legacy-<profile> style
--restore none false Undo the last –write from the backup
--force none false With –restore, also put back files that changed since the write
-h, --help none none Print help (see a summary with ‘-h’)