KAPLA-DECODE(1)

πŸ“¦ version 0.4.0, in nixpkgs unstable

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

okay so real talk: this is the kapla-decode page from the Kapla Manual, and we're about to decode some content together. stay with me, it's literally so straightforward. πŸ¦‹


✨ NAME ✨

kapla-decode β€” decode content. that's it. that's the vibe. 🫢


🌸 SYNOPSIS 🌸

kapla decode [--output=OUTPUT] [--socket=ERIS_UNIX_SOCKET] [OPTION]… READ_CAPABILITY

so you're decoding content and you've got yourself a read capability β€” iconic. πŸ’…

the blocks get pulled from a store, and you reach that store by connecting through a Unix socket. no socket, no blocks, no content. periodt. πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • READ_CAPABILITY (required) β€” the read capability of the content you wanna decode, expressed as a URN. yes bestie, it's required, don't come to the function without it. πŸ™ˆ

⭐ OPTIONS ⭐

  • -o OUTPUT, --output=OUTPUT (absent=-) β€” OUTPUT is the file containing the content to encode. use - for stdin. (yes, the manpage really does say "to encode" here β€” i'm just the messenger, copying it exactly, no editing over here πŸ’€)
  • -s ERIS_UNIX_SOCKET, --socket=ERIS_UNIX_SOCKET (absent=$XDG_STATE_HOME/kapla/eris.sock, $HOME/.local/state/kapla/eris.sock, /var/lib/kapla/eris.sock or the ERIS_UNIX_SOCKET env) β€” the Unix socket where the ERIS block store is listening. default hunt order goes $XDG_STATE_HOME/kapla/eris.sock, then $HOME/.local/state/kapla/eris.sock, then /var/lib/kapla/eris.sock, or just use the ERIS_UNIX_SOCKET env var if you're fancy. ✨

🌈 COMMON OPTIONS 🌈

  • --color=WHEN (absent=auto) β€” colorize the output, bestie. WHEN must be one of auto, always or never. pick your fighter. 🎨
  • --help[=FMT] (default=auto) β€” show this help 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 undefined. iykyk. πŸ“–
  • -q, --quiet β€” be quiet. takes over -v and --verbosity. shhhh. 🀫
  • -v, --verbose β€” increase verbosity. repeatable, but more than twice does not bring more. so like, -vv is the ceiling, girlies. πŸ”₯
  • --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. takes over -v. πŸ‘‘
  • --version β€” show version information. slay. πŸ’–

πŸ’€ EXIT STATUS πŸ’€

kapla decode exits with:

  1. 0 β€” on success. we love a win. πŸŽ‰
  2. 123 β€” on indiscriminate errors reported on standard error. 😭
  3. 124 β€” on command line parsing errors. you typed something cursed. πŸ™ˆ
  4. 125 β€” on unexpected internal errors (bugs). not me filing a bug report… πŸ’…

🧚 ENVIRONMENT 🧚

these environment variables affect the execution of kapla decode:

  • ERIS_UNIX_SOCKET β€” Unix socket where ERIS block store is listening. same vibe as --socket. πŸ”Œ
  • KAPLA_LOG_LEVEL β€” Set the log level. (yes there's a little extra space in the original there; i'm keeping it real with you. πŸ“)

πŸ¦‹ SEE ALSO πŸ¦‹

go read those too, bestie, they're in the same friend group. πŸ’œ


πŸ‘‘ sign-off πŸ‘‘

that's the whole page, no cap β€” brought to you by Kapla 0.4.0, straight from the Kapla Manual. now go decode something gorgeous. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from