2 Commits

Author SHA1 Message Date
e6bdade1a4 fix: use SSH for direct database queries instead of port-forward
The user-notes command in cli-anything-codimd doesn't support PostgreSQL,
so the script now queries the database directly via SSH kubectl exec.
Also fixes SQL quote handling in db-query command.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 12:18:53 +08:00
0d24721407 feat: add CodiMD database query helper script
Add db-query-users.sh to simplify running cli-anything-codimd commands:
- list-users: List all users
- user-notes <id>: Show notes for specific user

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 12:15:22 +08:00