Skip to content

Add --sort flag to card list command#40

Merged
robzolkos merged 1 commit intomasterfrom
add-sort-flag
Jan 21, 2026
Merged

Add --sort flag to card list command#40
robzolkos merged 1 commit intomasterfrom
add-sort-flag

Conversation

@robzolkos
Copy link
Collaborator

Summary

  • Adds --sort flag to fizzy card list command
  • Supports newest, oldest, and latest (default) sort orders
  • Passes sorted_by query parameter to the API (no client-side sorting)

Test plan

  • Tested fizzy card list --sort newest returns cards in descending created_at order
  • Tested fizzy card list --sort oldest returns cards in ascending created_at order
  • Verified build compiles and unit tests pass

Adds support for sorting cards via the API's sorted_by parameter:
- newest: oldest cards first (by created_at)
- oldest: newest cards first (by created_at)
- latest: most recently updated (default)
@robzolkos robzolkos merged commit 7fd29ec into master Jan 21, 2026
1 check passed
@robzolkos robzolkos deleted the add-sort-flag branch January 21, 2026 00:28
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