KAPLA-PEER(1)
π
kapla-peer(1) π
Okay so this page is straight out of the Kapla Manual, and itβs literally the kapla-peer main-character moment: managing Kapla peers. No cap, itβs giving βgroup chat adminβ energy. π«Ά
πΈ NAME πΈ
kapla-peer β manage Kapla peers. Thatβs it, thatβs the whole job, and it ate. π
β¨ SYNOPSIS β¨
kapla peer [COMMAND] β¦
Bestie, you run kapla peer, then you pick a COMMAND, and the β¦ is where that command brings its own options and arguments. Iconic. π
π¦ COMMANDS π¦
Hereβs the command menu, lowkey the whole personality of this page:
add [OPTION]β¦ URIβ add a peer.connect [--control=CONTROL_SOCKET] [OPTION]β¦ PEER_IDβ connect to a peer.disconnect [--control=CONTROL_SOCKET] [OPTION]β¦ CONNECTIONβ disconnect from a peer.list [--control=CONTROL_SOCKET] [OPTION]β¦β list peers. Yes, itβs literallylist peersin the original β we respect the lowercase era. πping [--control=CONTROL_SOCKET] [OPTION]β¦ CONNECTIONβ ping a peer.remove [--control=CONTROL_SOCKET] [OPTION]β¦ PEERβ remove a peer.
π OPTIONS π
-c CONTROL_SOCKET,--control=CONTROL_SOCKETβ Kapla control socket. The absent-value paths are$XDG_STATE_HOME/kapla/kapla.sock,$HOME/.local/state/kapla/kapla.sock, and/var/lib/kapla/kapla.sock. All three are right there in the original, so donβt come for me. π
π«Ά COMMON OPTIONS π«Ά
These are the universal besties that show up for basically every command:
--color=WHENβ colorize the output. Absent default isauto.WHENmust be one ofauto,always, ornever.--help[=FMT]β show this help in formatFMT. Default isauto.FMTmust be one ofauto,pager,groff, orplain. Withauto, the format ispagerorplainwhenever theTERMenv var isdumbor undefined.-q,--quietβ be quiet. Takes over-vand--verbosity.-v,--verboseβ increase verbosity. Repeatable, but more than twice does not bring more. So, like, know when to stop, bestie. π--verbosity=LEVELβ be more or less verbose. Absent default iswarningor theKAPLA_LOG_LEVELenv.LEVELmust be one ofquiet,error,warning,info, ordebug. Takes over-v.--versionβ show version information.
π EXIT STATUS π
kapla peer exits with these codes, and yes, they are specific:
0β on success.123β on indiscriminate errors reported on standard error.124β on command line parsing errors.125β on unexpected internal errors (bugs).
π ENVIRONMENT π
These environment variables affect the execution of kapla peer:
KAPLA_LOG_LEVELβ set the log level.
β SEE ALSO β
mwah π β footer check, bestie: Kapla 0.4.0 and KAPLA-PEER(1). Thatβs the source/version and footer tag. No date printed in the original footer, so Iβm not inventing one β we stay factual in this group chat. π§π
π¦ where this page comes from
- nixpkgs unstable: ocaml5.5.1-kapla 0.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms