open(1)
π open(1) β bestie's guide to opening (or unlocking) your database π
okay so quick vibe check: this is open(1), and it lives in the General Commands Manual section, which is honestly where all the main-character commands hang out. π
β¨ NAME β¨
open β opens a new database, or unlocks the existing one. The password may either be prompted for, or may be supplied in a ROOK_PASSWORD environment variable. π
Literally that's the whole thing. Two jobs, one icon. π
πΈ SYNOPSIS πΈ
open [--keyfile/-k <string>] [--pin <string>] [--prompt/-P <bool>]
[path(string)]
π¦ DESCRIPTION π¦
okay so, open opens a new database, or unlocks the existing one. That's it, that's the gig. π
The password may either be prompted for, or may be supplied in a ROOK_PASSWORD environment variable. So you've got options, bestie β get asked nicely, or just have the env var already sitting there ready to go. Both valid. Both slay. β¨
π OPTIONS π
--keyfile,-k[=string]β (defaults to"") reads a keyfile from this supplied path. Give it a path, it goes and grabs the keyfile from there. no cap. π--pin[=string]β (defaults to"") a one-time pin provided by a previouslockthat will re-unlock the database. so like,lockhanded you a little key and this is you using it. iconic behavior fr fr π--prompt,-P[=bool]β (defaults tofalse) prompt for the database password. you want it to ask? set it. you wanna be mysterious with aROOK_PASSWORDinstead? it's alreadyfalseby default, you're good. πstringβ (defaults to"") path; full path to the database (the server must be able to find the file). β οΈ heads up: full path, and the server has to be able to find the file. not you. the server. don't be out here giving it a relative path and then acting surprised, bestie. π
reminder that everything's got defaults β"","", andfalseβ so if you just typeopenand nothing else, that's a whole valid mood. π«Ά
π SEE ALSO π
the whole rook family came to the function, and they all showed up:
rook(1) rook-commands(1) rook-exit(1) rook-help(1) rook-info(1) rook-list(1) rook-lock(1) rook-match(1) rook-open(1) rook-reload(1) rook-search(1) rook-serve(1) rook-show(1) rook-status(1) rook-version(1)
β that's the whole page, go forth and open databases, you gorgeous thing. π§
signed off with love from local, dated 2026-05-31 β that's the source/version and date, and honestly? they ate. ππ
π¦ where this page comes from
- alpine 3.24: rook-doc 0.4.4-r0 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms