Skip to content

Output header row option (--header / -H) #10

@vmvarela

Description

@vmvarela

Description

Output should optionally include a header row with column names from the query, improving usability when the output is piped to another sql-pipe invocation or saved as a named CSV.

Acceptance Criteria

  • --header flag (or -H) prints column names as the first output row
  • Header off by default (preserves current streaming behaviour)
  • Header column names come from the SQLite column alias or original name
  • When --header is set, the output is valid CSV that can be piped back into sql-pipe

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:mediumShould be done soonsize:xsTrivial — less than 1 hourstatus:readyRefined and ready for sprint selectiontype:featureNew functionality

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions