KAPLA-DECODE(1)
π 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=-) βOUTPUTis 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.sockor theERIS_UNIX_SOCKETenv) β 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 theERIS_UNIX_SOCKETenv var if you're fancy. β¨
π COMMON OPTIONS π
--color=WHEN(absent=auto) β colorize the output, bestie.WHENmust be one ofauto,alwaysornever. pick your fighter. π¨--help[=FMT](default=auto) β show this help in formatFMT.FMTmust be one ofauto,pager,grofforplain. withauto, the format ends up beingpagerorplainwhenever theTERMenv var isdumbor undefined. iykyk. π-q,--quietβ be quiet. takes over-vand--verbosity. shhhh. π€«-v,--verboseβ increase verbosity. repeatable, but more than twice does not bring more. so like,-vvis the ceiling, girlies. π₯--verbosity=LEVEL(absent=warningor theKAPLA_LOG_LEVELenv) β be more or less verbose.LEVELmust be one ofquiet,error,warning,infoordebug. takes over-v. π--versionβ show version information. slay. π
π EXIT STATUS π
kapla decode exits with:
0β on success. we love a win. π123β on indiscriminate errors reported on standard error. π124β on command line parsing errors. you typed something cursed. π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
- 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