Buf(1)

๐Ÿ“ฆ
version 1.75.0 ยท 3 versions
, in arch rolling

๐Ÿ’… BUF(1) โ€” like, the buf registry login manual, bestie โœจ

Ok so this is the Buf(1) page, section 1 of the manual, and it's literally all about one iconic little command: buf-registry-login. Buckle up, we're logging in ๐ŸŽ€


โœจ NAME โœจ

buf-registry-login โ€” log in to the Buf Schema Registry ๐Ÿฆ‹

Like, that's it. That's the whole vibe. You're getting yourself authenticated, main character style ๐Ÿ‘‘


๐ŸŒธ SYNOPSIS ๐ŸŒธ

buf registry login [domain] [flags]

That's the whole summoning ritual, no cap ๐Ÿ”ฎ


๐Ÿ’– DESCRIPTION ๐Ÿ’–

So here's the tea โ˜• โ€” this command opens a browser to complete the login process. Very demure, very mindful, very "your default browser is now part of this operation" ๐ŸŒˆ

But wait, bestie, what if you can't do the browser thing? Don't stress ๐Ÿ’… You can use the flags --prompt or --token-stdin to complete an alternative login flow instead. Options, we love to see them โœจ

And where does your precious token go? It's saved to your .netrc file ๐Ÿ“ Write that down.

Oh and the [domain] argument โ€” if you don't specify it, it will default to buf.build. Defaults are self-care, honestly ๐Ÿซถ


๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -h, --help[=false] โ€” help for login ๐Ÿ’œ honestly the classic, the moment, the "wait what does this do again"
  • --prompt[=false] โ€” prompt for the token. Heads up though: the device must be a TTY for this to work ๐Ÿ–ฅ๏ธ Also it's exclusive with the flag --token-stdin โ€” pick a lane, babe, you can't have both ๐Ÿ’€
  • --token-stdin[=false] โ€” read the token from stdin ๐Ÿ’Œ Just so you know: this command prompts for a token by default, so this is you choosing the piping life instead. And yeah, it's exclusive with the flag --prompt โ€” same rule, one or the other, no cap ๐Ÿšซ

๐Ÿ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS ๐Ÿ‘‘

These are the flags you didn't even ask for but got anyway, like a goodie bag from the parent process ๐ŸŽ

  • --debug[=false] โ€” turn on debug logging (env BUF_DEBUG) ๐Ÿ” so many logs, so much insight
  • --log-format="color" โ€” the log format text,color,json โŸจenv BUF_LOG_FORMATโŸฉ ๐ŸŒˆ pick your aesthetic
  • --timeout=0s โ€” the duration until timing out, and setting it to 0 means no timeout (env BUF_TIMEOUT) โฐ zero means forever, which is either slay or terrifying, iykyk

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹


๐Ÿ“œ HISTORY ๐Ÿ“œ

2026-10-22 โ€” Auto generated by spf13/cobra ๐Ÿค– not me being a machine-generated manpage and still having more personality than half the docs out there ๐Ÿ’€โœจ


๐Ÿ’ก reminder bestie: --prompt and --token-stdin are exclusive with each other, and --prompt needs a TTY. Don't come for me if you ignore that ๐Ÿ™ˆ

Auto generated by spf13/cobra ๐ŸŒธ dated 2026-10-22 ๐ŸŒธ and that's the Buf(1) page, periodt ๐Ÿ’…๐Ÿซถ

๐Ÿ“ฆ where this page comes from