Skip to content

feat: add display-only --sort flag for history lists - #17

Merged
Onehand-Coding merged 1 commit into
mainfrom
feat/history-sort-flag
Oct 10, 2026
Merged

Onehand-Coding merged 1 commit into
mainfrom
feat/history-sort-flag

Conversation

@Onehand-Coding

Copy link
Copy Markdown
Owner

Plain -c keeps file order. --sort recent shows newest first, --sort alpha orders A-Z. Applies to both -c and --forget through a shared _ordered_history helper; the history file is never reordered. Tests: default file order, sort recent, sort alpha, forget respects sort, update keeps file order. make test passes (247 tests, all 4 stages).

@Onehand-Coding
Onehand-Coding merged commit 57abb38 into main Oct 10, 2026
10 checks passed
@Onehand-Coding
Onehand-Coding deleted the feat/history-sort-flag branch October 10, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant