fix(cli): consistent exit codes on empty results #143
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/kronai!143
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/0102-consistent-exit-codes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
_cmd_interval()now exits with code 1 when no jobs are found, matching the behavior of_cmd_run()on not-found.Why
Consistent exit code behavior across subcommands.
Testing
Closes #102
4f2e9bbf6fd16221fa39d16221fa395bb581e8fbAutomated Review — PR #143
Result: APPROVED
One-line fix —
_cmd_intervalnow exits with code 1 on empty results, matching_cmd_runbehavior. Closes #102.No suggestions.
5bb581e8fb3d3631464f3d3631464fe08120c991