feat: improve CLI output with relative dates, rich feedback, and recurring task info
Add relative date formatting (today, tomorrow, in 3d, etc.) for list and detail views. Add structured feedback helpers for add/complete/delete operations showing display IDs and parsed modifiers. Change Complete() to return spawned recurring instance so callers can display recurrence info. Add AppendTask to working set for immediate display ID assignment. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -240,7 +240,8 @@ func applyEditedFields(task *engine.Task, fields map[string]string) error {
|
||||
return err
|
||||
}
|
||||
// Then complete (which saves automatically)
|
||||
return task.Complete()
|
||||
_, err := task.Complete()
|
||||
return err
|
||||
}
|
||||
|
||||
// If changing to deleted, use Delete() method
|
||||
|
||||
Reference in New Issue
Block a user