PRE-COMMIT-MIGRATE-CONFIG(1)

πŸ“¦ version 4.7.0, in epel 10, fedora 43, fedora 44

πŸ’– PRE-COMMIT-MIGRATE-CONFIG(1) πŸ’–

okay bestie, welcome to the pre-commit manual page for pre-commit-migrate-config β€” a User Command, and honestly? a little glow-up machine. its whole job is migrating your old list configuration into the shiny new map configuration. no cap. πŸ¦‹


✨ NAME ✨

pre-commit-migrate-config β€” migrates list configuration to the new map configuration. it's giving ✨format refresh✨, and she ate.


🌸 SYNOPSIS 🌸

pre-commit migrate-config [-h] [--color {auto,always,never}] [-c CONFIG]
directory

(yes the directory goes at the end, she's a positional girlie πŸ’…)


πŸŽ€ OPTIONS πŸŽ€

🫢 OPTIONAL ARGUMENTS

these are optional, hence the name, iykyk. they're the little accessories that make the fit.

  • -h, --help β€” shows you a help message and then dips. that's it, that's the whole vibe. ask and she answers. πŸ’œ
  • --color {auto,always,never} β€” whether to use color in the output, because sometimes you want the rainbow and sometimes you're piping it into a file like a coward (respectfully πŸ’€). takes one of three values: auto, always, or never. defaults to auto, so she'll figure it out herself. main character energy fr fr. 🌈
  • -c, --config CONFIG β€” path to an alternate config file. like, if your config isn't where she expects it, just point her at the right one. CONFIG is the path, bestie. πŸŽ€
heads up: every option here is optional β€” the only thing she needs from you is that directory.

πŸ‘‘ SEE ALSO πŸ‘‘

the whole pre-commit cinematic universe, all linked up like a group chat you never mute:

and also, obviously:


mwah πŸ’‹ that's the page. this one's a User Commands joint from the pre-commit source, stamped February 2025. go forth, migrate that config, and slay. βœ¨πŸ’…

πŸ“¦ where this page comes from