Buf(1)

πŸ“¦
version 1.75.0 Β· 3 versions
, in arch rolling

πŸ’… BUF(1) β€” bestie's guide to buf stats πŸ’…

okay so real talk, this is the manual page for Buf(1) β€” well, specifically the buf-stats corner of it β€” and by the end of this you're gonna be getting statistics like it's your whole personality. no cap. 🫢


✨ NAME ✨

buf-stats β€” get statistics for a given source or module 🌸

like, literally numbers about your protos. iconic behavior.


✨ SYNOPSIS ✨

buf stats  [flags]

that's it. that's the whole vibe check. πŸ’…


✨ DESCRIPTION ✨

so the first argument is the source or module you wanna get statistics for, and it must be one of format [dir,git,mod,protofile,tar,zip] β€” those are your options, pick one, don't get creative 😭

if you pass no argument at all, it just defaults to ".". easy. lowkey generous of it, honestly. ✨


✨ OPTIONS ✨

okay here's the good part, the flags, the little knobs you get to fiddle with πŸ”₯

  • --disable-symlinks[=false] β€” do not follow symlinks when reading sources or configuration from the local filesystem. but heads up bestie: by default, symlinks are followed in this CLI β€” just never followed on the Buf Schema Registry. so it's a whole different energy depending on where you are πŸ¦‹
  • --format="text" β€” the output format to use. must be one of [text,json]. that's the whole menu, no secret third option πŸ™ˆ
  • -h, --help[=false] β€” help for stats. your little safety net πŸ’–

✨ OPTIONS INHERITED FROM PARENT COMMANDS ✨

these ones you didn't even ask for, they just come with the parent command like a plus-one to the party πŸ‘‘

  • --debug[=false] β€” turn on debug logging (env BUF_DEBUG) πŸ›
  • --log-format="color" β€” the log format text,color,json ⟨env BUF_LOG_FORMAT⟩. yes those are the actual values, no i did not make them up ⭐
  • --timeout=0s β€” the duration until timing out; setting it to 0 means no timeout (env BUF_TIMEOUT). so 0 is the "we die like men" setting πŸ’€

✨ SEE ALSO ✨

  • buf(1) β€” the main character, the parent, the whole reason we're here πŸ‘‘

✨ HISTORY ✨

2026-10-22 β€” auto generated by spf13/cobra ✨


aaaand that's the page!! πŸŽ€

sign-off time: this little masterpiece was auto generated by spf13/cobra, dated 2026-10-22 β€” same date, top and bottom, fr fr. so if anything here looks unhinged, blame the generator, not me πŸ’œπŸ’…

go get those stats bestie, you're gonna slay πŸ¦‹πŸŒˆ

πŸ“¦ where this page comes from