Open plinto
Docs›Reference›Command line

plinto migrate

Command line
⚙Made from plinto's own help, so it says what the command does. plinto help migrate prints the same in your terminal.
What it does

Rewrite the project's Maven-, Go- and Rust- entries as the packages its version group imported them as.

plinto migrate [options]

Rewrites the old Maven-, Go- and Rust- entries of the plinto.conf of the project you are in (with -a, of every project of the workspace) as the packages the workspace's version group imported them as, at the line of the group's version: Maven-org.junit.jupiter:junit-jupiter = 6.1.3 becomes JUnitJupiter = 6, and a crate keeps its features. Everything else in each file stays as written. An entry the group hasn't imported stays, with the plinto import command that imports it. With --dry-run it only says what would change.

Options

OptionWhat it does
-p, --project <dir>the folder to start from instead of the current directory
-a, --allevery project of the workspace
--dry-runshow what the import would bring, and change nothing
-h, --helpshow this help