-
Notifications
You must be signed in to change notification settings - Fork 0
Home
江河 edited this page Jul 22, 2026
·
3 revisions
dbgov-cli is the governed database operations CLI in the opskit family. It supports MySQL and PostgreSQL operations for humans and AI agents: read queries, explain, schema diff/plan/apply, governed DML, GitOps schema import/reconcile/rollback, context management, and tamper-evident audit.
Current npm package: dbgov-cli@0.4.1
Repository: https://github.com/JiangHe12/dbgov-cli
- Output formats:
json,table, andplain. - JSON output uses a versioned envelope with
apiVersion,kind,success, anddataorerror. -
capabilities -o plainprints one supported command per line. -
version -o plainprints only the version string in release builds. - Global safety flags include
--debug,--trace, and--no-color. - AI agents may read and preview freely, but must not invent
--ticket,--allow-*, or high-risk--yesapprovals.
ctx, schema, data, export, import, reconcile, rollback, audit, install, version, capabilities, doctor, query, explain.