KAPLA-SQLITE-OPEN(1)

πŸ“¦ version 0.4.0, in nixpkgs unstable

✨ KAPLA-SQLITE-OPEN(1) ✨

okay so this is the manual page for kapla-sqlite-open, straight outta the Kapla Manual, and bestie it is literally about opening a SQLite database and making the ERIS blocks inside it available. that's the whole vibe. let's get into it 🫢


πŸŽ€ NAME πŸŽ€

kapla-sqlite-open β€” open the SQLite database and make blocks available from therein. yes, "therein". we're fancy now πŸ’…

🌸 SYNOPSIS 🌸

kapla sqlite open [--socket=ERIS_UNIX_SOCKET] [OPTION]… SQLITE_DB

πŸ¦‹ ARGUMENTS πŸ¦‹

  • SQLITE_DB (required) β€” the SQLite database that's holding your ERIS blocks. required, so like… don't forget it, that's the whole point of the command, no cap πŸ’€

πŸ’– OPTIONS πŸ’–

  • -s ERIS_UNIX_SOCKET, --socket=ERIS_UNIX_SOCKET β€” the Unix socket where the ERIS block store is listening. so like, absent? it falls back through this whole lil chain in order: $XDG_STATE_HOME/kapla/eris.sock, then $HOME/.local/state/kapla/eris.sock, then /var/lib/kapla/eris.sock, then the ERIS_UNIX_SOCKET env var. iconic scavenger hunt behavior tbh πŸ”₯

🌈 COMMON OPTIONS 🌈

these are the shared ones, the group-chat regulars, love them:

  • --color=WHEN (absent=auto) β€” colorize the output. WHEN has to be one of auto, always or never. that's it. no in-between, choose 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 is pager or plain whenever the TERM env var is dumb or undefined β€” she's reading the room, we stan an adaptive queen πŸ‘‘
  • -q, --quiet β€” be quiet. it takes over -v and --verbosity, like full main character energy, it wins 😀
  • -v, --verbose β€” increase verbosity. repeatable, but more than twice doesn't bring more. so like, -vv is the ceiling, -vvv is just showing off for nobody πŸ’€
  • --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. periodt 🎯
  • --version β€” show version information. slay, know thyself πŸ’œ

πŸ“ EXIT STATUS πŸ“

kapla sqlite open bails out with:

  1. 0 β€” on success. we love a win πŸŽ‰
  2. 123 β€” on indiscriminate errors reported on standard error. "indiscriminate" is doing so much work here lmao 😭
  3. 124 β€” on command line parsing errors. you typed something weird bestie, it's giving typos πŸ™ˆ
  4. 125 β€” on unexpected internal errors (bugs). not our fault, it's a bug, we swear πŸ›

🧚 ENVIRONMENT 🧚

these env vars affect how kapla sqlite open runs, k?

  • ERIS_UNIX_SOCKET β€” Unix socket where ERIS block store is listening. same deal as the --socket flag πŸ¦‹
  • KAPLA_LOG_LEVEL β€” set the log level. that's the vibe check for how chatty she gets 🌸

⭐ SEE ALSO ⭐

kapla(1) β€” the parent, the blueprint, go read it πŸ’–


ok that's the whole page, nothing skipped, nothing dropped, every flag accounted for. you're welcome bestie 🫢

Kapla 0.4.0 is the version this gorgeous thing is running, mwah πŸ’…βœ¨ and that's the sign-off, go open some databases πŸŽ€

πŸ“¦ where this page comes from