-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
mvpPart of the Minimum Viable ProductPart of the Minimum Viable Productpriority:highMust be in the next sprintMust be in the next sprintsize:sSmall — 1 to 4 hoursSmall — 1 to 4 hoursstatus:readyRefined and ready for sprint selectionRefined and ready for sprint selectiontype:featureNew functionalityNew functionality
Milestone
Description
Description
The current tool exits with a generic message on bad input or SQL errors. Users deserve clear, actionable error output that helps them fix the problem — with exit codes that scripts can rely on.
Acceptance Criteria
- Usage help is printed to stderr, not stdout
- Exit code 0: success
- Exit code 1: usage error (missing query argument)
- Exit code 2: CSV parse error (with row number)
- Exit code 3: SQL error (with the sqlite3 error message)
-
--help/-hflag prints usage details -
--version/-Vflag prints the binary version (injected at build time) - All error messages are prefixed with
error:and go to stderr
Notes
- Version can be injected via
build.zigusingexe.root_module.addAnonymousImportor-Dversionoption std.process.exitcodes should be documented in the README
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
mvpPart of the Minimum Viable ProductPart of the Minimum Viable Productpriority:highMust be in the next sprintMust be in the next sprintsize:sSmall — 1 to 4 hoursSmall — 1 to 4 hoursstatus:readyRefined and ready for sprint selectionRefined and ready for sprint selectiontype:featureNew functionalityNew functionality