feat(cli): add nerve sense schema and query commands (closes #60) #62

Merged
xiaomo merged 1 commits from feat/sense-query into main 2026-04-23 07:06:02 +00:00

1 Commits

Author SHA1 Message Date
xiaoju b15fc993f2 feat(cli): add nerve sense schema and query commands
Open each sense SQLite file read-only under data/senses. schema lists CREATE TABLE SQL from sqlite_master; query runs optional SQL or a default SELECT ordered by rowid. Human output uses aligned columns; --json for machine-readable output. Add better-sqlite3 to the CLI package and externalize it in tsup.

Tests cover sense-sqlite helpers and integration against a temp database.

Made-with: Cursor
2026-04-23 07:01:16 +00:00