KAPLA-SQLITE-IMPORT(1)

πŸ“¦ version 0.4.0, in nixpkgs unstable

πŸ’… 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 πŸ‘‘

  • -s ERIS_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 the ERIS_UNIX_SOCKET env var. iconic little fallback chain ngl πŸ”₯

🌈 COMMON OPTIONS 🌈

  • --color=WHEN (absent=auto) β€” Colorize the output πŸ’– WHEN has to be one of auto, always or never. no other options, we don't do chaos here (affectionate).
  • --help[=FMT] (default=auto) β€” Show this help in format FMT. FMT must be one of auto, pager, groff or plain. with auto, the format is pager or plain whenever the TERM env var is dumb or undefined. iykyk 🧚
  • -q, --quiet β€” Be quiet 🀫. takes over -v and --verbosity. like, fully overrides them, no debate.
  • -v, --verbose β€” Increase verbosity. repeatable, but more than twice does not bring more. so -vv is the ceiling, -vvv is just you being extra for no reason πŸ˜­πŸ’€
  • --verbosity=LEVEL (absent=warning or KAPLA_LOG_LEVEL env) β€” Be more or less verbose. LEVEL must be one of quiet, error, warning, info or debug. takes over -v. yeah, they fight, and this one wins πŸ₯Š
  • --version β€” Show version information. slay ⭐

πŸ¦‹ EXIT STATUS πŸ¦‹

kapla sqlite import exits with:

  1. 0 β€” on success. we love a happy ending πŸ’œ
  2. 123 β€” on indiscriminate errors reported on standard error. the generic "something went wrong" energy πŸ™ˆ
  3. 124 β€” on command line parsing errors. you typed something sus, bestie πŸ’€
  4. 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/--socket option, 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