KAPLA-LS(1)

πŸ“¦ version 0.4.0, in nixpkgs unstable

πŸ’… KAPLA-LS(1) β€” the Kapla Manual, bestie edition πŸŽ€

okay so. welcome to the Kapla manual page for kapla ls, and yes she's iconic, yes she's serving, and yes I'm gonna walk you through every single detail because you deserve to know ✨


🌸 NAME 🌸

kapla-ls β€” list the entries inside an encoded ERIS-FS index. that's it, that's the job, and she does it flawlessly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

kapla ls [--socket=ERIS_UNIX_SOCKET] [OPTION]… READ_CAPABILITY

literally just that. the vibe check starts here 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • READ_CAPABILITY (required, no skipping) β€” the read capability of the content you want decoded as a URN. yes, you must give it to her. it's not optional, she's not gonna guess πŸ’–

⭐ OPTIONS ⭐

  • -s ERIS_UNIX_SOCKET, --socket=ERIS_UNIX_SOCKET β€” the Unix socket where the ERIS block store is listening. if you don't pass it, she'll go looking in these spots in order: $XDG_STATE_HOME/kapla/eris.sock, $HOME/.local/state/kapla/eris.sock, /var/lib/kapla/eris.sock, or she'll take it from the ERIS_UNIX_SOCKET env var. so many options, so much main character energy πŸ‘‘

🌈 COMMON OPTIONS 🌈

these ones show up across the whole family, iykyk πŸ’œ

  • --color=WHEN (absent=auto) β€” colorizes the output, obviously, we love a lewk. WHEN has to be one of auto, always or never β€” don't try anything funny, she checks πŸ”₯
  • --help[=FMT] (default=auto) β€” shows this very help text in format FMT. FMT must be one of auto, pager, groff or plain. with auto, the format ends up being pager or plain whenever the TERM env var is dumb or straight-up undefined πŸ™ˆ
  • -q, --quiet β€” be quiet. she's not doing small talk. this one takes over -v and --verbosity, no cap πŸ’€
  • -v, --verbose β€” increases verbosity, and yes it's repeatable. but ngl, more than twice does not bring more β€” she said what she said πŸ€·β€β™€οΈ
  • --verbosity=LEVEL (absent=warning, or the KAPLA_LOG_LEVEL env) β€” be more or less verbose. LEVEL must be one of quiet, error, warning, info or debug. this one takes over -v ✨
  • --version β€” shows version information. icon behavior πŸŽ€

πŸ’€ EXIT STATUS πŸ’€

kapla ls bails with these:

  1. 0 β€” on success. slay πŸ’–
  2. 123 β€” on indiscriminate errors reported on standard error 😭
  3. 124 β€” on command line parsing errors 🫠
  4. 125 β€” on unexpected internal errors (bugs). not her fault, fr fr πŸ™ˆ

πŸ“ ENVIRONMENT πŸ“

these env vars affect how kapla ls runs, keep 'em in mind bestie:

  • ERIS_UNIX_SOCKET β€” the Unix socket where the ERIS block store is listening πŸ¦‹
  • KAPLA_LOG_LEVEL β€” sets the log level ⭐

🧚 SEE ALSO 🧚

  • kapla(1) β€” go read the parent page, she'd want you to πŸ’œ

okay that's the whole thing, you ate that, periodt πŸ’… this was the Kapla manual for kapla-ls, and the whole thing is Kapla 0.4.0 πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from