Database Query CLI Interface #14

Closed
opened 2025-09-24 21:30:57 +00:00 by tegwick · 0 comments
Owner

UseCase: The user can query the SQLite database directly through CLI for metadata operations and analysis.

Commands to implement:

  • markitect query <sql> - Execute SQL query against database
  • markitect schema - Show database schema and table structure
  • markitect metadata <file> - Display file metadata and front matter

Technical Requirements:

  • Provide safe SQL query interface with read-only access
  • Support multiple output formats (table, JSON, YAML)
  • Include common query templates and examples
  • Integrate with existing DatabaseManager functionality

Acceptance Criteria:

  • SQL query interface with safety constraints
  • Schema inspection commands
  • Metadata display functionality
  • Multiple output format support
  • Query templates and examples
  • Comprehensive test coverage

Core USP: "Relational Document Metadata" - Make database queryable
Dependencies: Issue #12 (CLI Entry Point)
Priority: High

UseCase: The user can query the SQLite database directly through CLI for metadata operations and analysis. Commands to implement: - `markitect query <sql>` - Execute SQL query against database - `markitect schema` - Show database schema and table structure - `markitect metadata <file>` - Display file metadata and front matter Technical Requirements: - Provide safe SQL query interface with read-only access - Support multiple output formats (table, JSON, YAML) - Include common query templates and examples - Integrate with existing DatabaseManager functionality Acceptance Criteria: - [ ] SQL query interface with safety constraints - [ ] Schema inspection commands - [ ] Metadata display functionality - [ ] Multiple output format support - [ ] Query templates and examples - [ ] Comprehensive test coverage Core USP: "Relational Document Metadata" - Make database queryable Dependencies: Issue #12 (CLI Entry Point) Priority: High
tegwick added this to the CLI Implementation milestone 2025-09-24 21:47:12 +00:00
tegwick added this to the Getting started project 2025-09-24 22:00:19 +00:00
tegwick moved this to Todo in Getting started on 2025-09-24 22:02:58 +00:00
tegwick moved this to Active in Getting started on 2025-09-24 22:04:41 +00:00
tegwick moved this to Todo in Getting started on 2025-09-24 22:05:11 +00:00
tegwick moved this to Active in Getting started on 2025-09-25 01:15:58 +00:00
tegwick moved this to Review in Getting started on 2025-09-25 01:33:09 +00:00
tegwick added the status:done label 2025-09-25 11:35:10 +00:00
tegwick moved this to Done in Getting started on 2025-09-25 11:37:01 +00:00
Sign in to join this conversation.