Prune stale CLI contract #337

Merged
barrettruth merged 1 commit from cleanup/cli-contract-316 into main 2026-05-11 19:54:04 +00:00
Owner

Problem

The CLI still accepted or advertised reduced-product surfaces that do not exist anymore: priority task flags and filters, stale date/limit filters, a no-op confirmation flag, and import formats beyond iCal.

Solution

  • Remove --priority from task add/edit and shell completions.
  • Restrict parsed task filters to implemented status/category/due range/sort fields.
  • Trim help/man/completions to the iCal import and current filter/date contract.
  • Regenerate cli/man/delta.1.

Verification

  • bun run build:man from cli
  • nix develop /home/barrett/dev/delta --command bun run build:npm from cli
  • nix develop --command just lint
  • git diff --check

Closes #316

## Problem The CLI still accepted or advertised reduced-product surfaces that do not exist anymore: priority task flags and filters, stale date/limit filters, a no-op confirmation flag, and import formats beyond iCal. ## Solution - Remove `--priority` from task add/edit and shell completions. - Restrict parsed task filters to implemented status/category/due range/sort fields. - Trim help/man/completions to the iCal import and current filter/date contract. - Regenerate `cli/man/delta.1`. ## Verification - `bun run build:man` from `cli` - `nix develop /home/barrett/dev/delta --command bun run build:npm` from `cli` - `nix develop --command just lint` - `git diff --check` Closes #316
cleanup: prune stale cli contract
All checks were successful
quality / Test (pull_request) Successful in 15s
quality / Lint (pull_request) Successful in 20s
quality / Build (pull_request) Successful in 42s
b6b554687d
barrettruth deleted branch cleanup/cli-contract-316 2026-05-11 19:54:04 +00:00
barrettruth referenced this pull request from a commit 2026-05-11 19:54:06 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/delta!337
No description provided.