Skip to content

Implement argparse CLI handling#4

Merged
thrly merged 8 commits intomainfrom
implement-argparse
Oct 8, 2025
Merged

Implement argparse CLI handling#4
thrly merged 8 commits intomainfrom
implement-argparse

Conversation

@thrly
Copy link
Copy Markdown
Owner

@thrly thrly commented Oct 8, 2025

This PR adds:

  • Refactored interface using argparse to better manage subcommands (rather than previous complicated use of argv). This also enabled some better logic handing for the program via the subcommand handler functions.
  • Clarified focus of app somewhat to viewing aggregate stats for MTG sets / search lists
  • Updated CLI commands (now setlist, set, search)
  • setlist now finds the 'current' release (i.e. the set most recently released) and will give stats for it with scry set latest
  • Adds a stat chart for colour distribution comparisons.
  • By default, search results now include all unique prints of cards, not just the unique card (i.e. it now shows variation prints in the numbers)
  • Documentation improvements made both to README, and through the cli --help

@thrly thrly merged commit eb7529d into main Oct 8, 2025
2 checks passed
@thrly thrly deleted the implement-argparse branch October 8, 2025 13:11
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