KAPLA-PEER-LIST(1)

πŸ“¦ version 0.4.0, in nixpkgs unstable

πŸ’… kapla-peer-list(1) β€” the Kapla Manual, bestie edition

okay so picture this: it's giving manual page, it's giving iconic, and it's literally called kapla-peer-list πŸ’–. That's the kapla peer list command, and its whole entire job? Listing peers. That's it. That's the vibe. She's a simple girl and she slays at it. ✨


🌸 SYNOPSIS 🌸

kapla peer list [--control=CONTROL_SOCKET] [OPTION]…

like, you run kapla peer list, you optionally point her at a control socket with --control=CONTROL_SOCKET, you toss in whatever [OPTION]… you want, and she goes. periodt. 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -c CONTROL_SOCKET, --control=CONTROL_SOCKET β€” the Kapla control socket. you can leave it out (absent) and she'll go looking in this order, no cap:
    • $XDG_STATE_HOME/kapla/kapla.sock
    • $HOME/.local/state/kapla/kapla.sock
    • /var/lib/kapla/kapla.sock

she literally checks those three, in that order, and picks the first one that hits. the way that's so organized of her πŸ’…


✨ COMMON OPTIONS ✨

these are the options everyone gets, not just peer list. shared queen behavior πŸ‘‘

  • --color=WHEN (absent=auto) β€” colorize the output, bestie. 🌈 WHEN has to be exactly one of auto, always or never β€” those three, nothing else, iykyk.
  • --help[=FMT] (default=auto) β€” shows this help in format FMT. FMT must be one of auto, pager, groff or plain. and when it's auto? the format is pager or plain whenever the TERM env var is dumb or undefined. not me knowing that by heart 😭
  • -q, --quiet β€” be quiet. 🀫 and she's assertive about it: this takes over -v and --verbosity. she wins the argument, fr fr.
  • -v, --verbose β€” increase verbosity. repeatable! but more than twice does not bring more. so like… two is the max useful, don't overdo it πŸ’€
  • --verbosity=LEVEL (absent=warning or KAPLA_LOG_LEVEL env) β€” be more or less verbose. LEVEL must be one of quiet, error, warning, info or debug. and yeah, this one takes over -v. main character energy, honestly. πŸ‘‘
  • --version β€” show version information. classic. love her. ⭐

πŸ’œ EXIT STATUS πŸ’œ

kapla peer list exits with:

  1. 0 β€” on success. πŸŽ‰ slay, we ate, no notes.
  2. 123 β€” on indiscriminate errors reported on standard error. 😭
  3. 124 β€” on command line parsing errors. πŸ™ˆ like when you typo a flag, we've all been there.
  4. 125 β€” on unexpected internal errors (bugs). πŸ’€ lowkey not her fault, please file it.
⚠️ heads up: 125 is the bugs one. if you see it, something went sideways internally β€” it's not a you problem.

πŸ¦‹ ENVIRONMENT πŸ¦‹

these environment variables affect the execution of kapla peer list:

  • KAPLA_LOG_LEVEL β€” set the log level. 🌟 that's the one. that's the whole list. she's low maintenance.

πŸ“ SEE ALSO πŸ“

  • kapla(1) β€” the big one, the parent, the icon 🌈

cute little sign-off: this absolutely stunning piece of documentation is from Kapla 0.4.0, and it lives in the Kapla Manual β€” KAPLA-PEER-LIST(1), right here in the terminal, bestie. πŸ§šβœ¨πŸ’– go list some peers, you got this 🫢

πŸ“¦ where this page comes from