mops sync
Analyze source code and:
- Add missing packages that are used in the source code but are not listed in
mops.toml - Remove unused packages listed in
mops.tomlbut not imported in the source code
mops sync
Options
--lock
What to do with the lockfile.
Default value is update if lockfile exists and ignore otherwise.
Possible values:
update- update lockfile (create if not exists). Always checks after updateignore- ignore lockfile