Upgrade
-
Upgrade the binary
Terminal window brew update && brew upgrade moatRun the installer of the new release again, as in the Quick start.
Terminal window cargo install openmoat --locked --forceHooks keep working after an upgrade in the same place.
moat doctorconfirms it. -
Take the new default rules, if you want them
Your policy is kept as it is, so a rule the new default gained is offered, not forced.
moatsays “policy update available: N changes” and offers to show them.Terminal window moat policy upgrade --dry-run # what the new default adds, as a diff; changes nothingmoat policy upgrade # shows the diff, asks, keeps a backup and re-pinsmoat policy upgrade --undo # put the previous policy backLines you changed are never touched.
Every release and what changed in it: Releases.