PRE-COMMIT-SAMPLE-CONFIG(1)

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

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

okay bestie, so this is pre-commit-sample-config, a User Commands era icon, and she does exactly one thing and does it beautifully: she makes you a sample .pre-commit-config.yaml file. that's it. that's the whole girl. and honestly? we love a specialist. πŸ‘‘


✨ NAME ✨

pre-commit-sample-config β€” produce a sample .pre-commit-config.yaml file πŸŽ€

like literally, that's the job description. she spawns the starter yaml so you don't have to stare at an empty file wondering who you are as a person. no cap.


🌸 SYNOPSIS 🌸

pre-commit sample-config [-h] [--color {auto,always,never}] directory
note the vibes: it's pre-commit sample-config, the subcommand goes after pre-commit, and yes there's a directory argument at the end that is doing main character energy all by itself. πŸ¦‹

πŸ’… OPTIONS πŸ’…

🧚 OPTIONAL ARGUMENTS

  • -h, --help β€” show a help message and exit. the classic. the legend. press it whenever you're lost and she will hand you the map. πŸ—ΊοΈβœ¨
  • --color {auto,always,never} β€” whether to use color in output. defaults to auto. so like: auto = she decides, always = rainbow mode no matter what, never = plain, minimal, unbothered. pick your vibe. 🌈

πŸ‘‘ SEE ALSO πŸ‘‘

the whole pre-commit friend group, all iconic, all linked, all here:

and the big one, the mother of them all:


πŸ’– little reminder bestie: this page is from February 2025 and lives under the pre-commit source, so if you're reading this in a totally different era, go check the current docs. iykyk. πŸ’…

later, legend β€” go make that yaml, you're gonna slay it. 🌟🫢

πŸ“¦ where this page comes from