Buf(1)
π
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 (envBUF_DEBUG) π--log-format="color"β the log formattext,color,jsonβ¨envBUF_LOG_FORMATβ©. yes those are the actual values, no i did not make them up β--timeout=0sβ the duration until timing out; setting it to0means no timeout (envBUF_TIMEOUT). so0is 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
- arch rolling: buf 1.75.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms