ovdb
ovdb is the OpenVaultDB command-line interface — the canonical
developer/admin tool for creating, running, and operating an OpenVaultDB
instance: user-owned, portable databases with pluggable storage engines
(SQLite, inGitDB, ...).
The reference implementation and Go libraries backing this CLI live at
github.com/openvaultdb/openvaultdb-go.
Install
Via Homebrew (macOS/Linux):
brew install --cask openvaultdb/tap/ovdb
Via go install (requires a Go toolchain):
go install github.com/openvaultdb/ovdb@latest
Usage
ovdb --help
ovdb init — create a database manifest (--id, --engine,
--schema-mode, --path, --out).
ovdb serve — run the OpenVaultDB HTTP API server over the manifests
in --dir and/or listed with --manifest. With --data-dir, new
databases can also be created at runtime.
ovdb status — show the status of a running ovdb serve instance.
ovdb databases — list, and (databases create) create, databases on
a running server.
ovdb token — manage revocable, scoped API tokens against a running
server (create, list, revoke).
ovdb cloud — sign in to OpenVaultDB Cloud through a browser, inspect
the current login, or revoke it (login, status, logout). Credentials
use the operating system keyring by default. Plaintext storage requires the
explicit --insecure-storage flag.
ovdb self-update — check for or install a newer CLI release (alias:
ovdb update). Homebrew-managed installs are redirected to
brew upgrade --cask ovdb; manual installs are checksum-verified and
replaced atomically.
ovdb self-update --check
ovdb self-update --check --format json
ovdb self-update
ovdb self-update --yes
ovdb self-update --version v0.3.0
Run ovdb <command> --help for the full flag reference of any subcommand,
or ovdb version for build version/commit/date.
Development
go build -o ovdb .
go test ./...