KAPLA-SQLITE-IMPORT(1)
π KAPLA-SQLITE-IMPORT π
okay so bestie, welcome to the kapla-sqlite-import page from the Kapla Manual β yes that's the whole manual name, we're being fancy today π β and it's literally just one job: getting your blocks out of an SQLite database and into the block store. let's get into it β¨
πΈ NAME πΈ
kapla-sqlite-import β Import blocks from an SQLite database. that's it, that's the whole vibe π¦
β¨ SYNOPSIS β¨
kapla sqlite import [--socket=ERIS_UNIX_SOCKET] [OPTION]β¦ SQLITE_DB
so you call kapla sqlite import, you can slip it a --socket=ERIS_UNIX_SOCKET if you want, you can throw as many [OPTION]β¦ at it as your heart desires, and then you hand it the SQLITE_DB. periodt π
π«Ά ARGUMENTS π«Ά
SQLITE_DB(required) β the SQLite database that's holding all your ERIS blocks. required, so likeβ¦ don't forget it, bestie. it's giving non-negotiable π
π OPTIONS π
-sERIS_UNIX_SOCKET,--socket=ERIS_UNIX_SOCKET β the Unix socket where the ERIS block store is listening. if you don't pass it, it gets picked up in this order (absent = first one that exists, basically):$XDG_STATE_HOME/kapla/eris.sock, then$HOME/.local/state/kapla/eris.sock, then/var/lib/kapla/eris.sock, or theERIS_UNIX_SOCKETenv var. iconic little fallback chain ngl π₯
π COMMON OPTIONS π
--color=WHEN (absent=auto) β Colorize the output π WHEN has to be one ofauto,alwaysornever. no other options, we don't do chaos here (affectionate).--help[=FMT] (default=auto) β Show this help in format FMT. FMT must be one ofauto,pager,grofforplain. withauto, the format ispagerorplainwhenever theTERMenv var isdumbor undefined. iykyk π§-q,--quietβ Be quiet π€«. takes over-vand--verbosity. like, fully overrides them, no debate.-v,--verboseβ Increase verbosity. repeatable, but more than twice does not bring more. so-vvis the ceiling,-vvvis just you being extra for no reason ππ--verbosity=LEVEL (absent=warningorKAPLA_LOG_LEVELenv) β Be more or less verbose. LEVEL must be one ofquiet,error,warning,infoordebug. takes over-v. yeah, they fight, and this one wins π₯--versionβ Show version information. slay β
π¦ EXIT STATUS π¦
kapla sqlite import exits with:
0β on success. we love a happy ending π123β on indiscriminate errors reported on standard error. the generic "something went wrong" energy π124β on command line parsing errors. you typed something sus, bestie π125β on unexpected internal errors (bugs). not meβ¦ π that's a us problem, file it fr fr
π ENVIRONMENT π
these environment variables affect the execution of kapla sqlite import:
ERIS_UNIX_SOCKETβ Unix socket where ERIS block store is listening. same socket as the-s/--socketoption, just vibing in your env πΈKAPLA_LOG_LEVELβ Set the log level. (yes the original has that extra space before "Set", we're preserving the lore β¨)
π SEE ALSO π
kapla(1)β go read the main character's page, it's giving root of all things π
π«Ά friendly reminder: every flag, every value, every fallback path above is exactly as written β don't go renaming stuff, the manpage is canon π
and that's the page, bestie!! brought to you by Kapla 0.4.0 β version 0.4.0 of the Kapla manual, page KAPLA-SQLITE-IMPORT(1), no cap βπβ¨
π¦ 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