alanyee / valorantbp

cli for tracking valorant battlepass progress
MIT License
3 stars 2 forks source link

Organize usage statement with argument groups #12

Closed alanyee closed 1 year ago

alanyee commented 1 year ago

Describe the ideal solution or feature request

Use argparse's argument groups to organize the usage statement

Difficulty, impact, and usage score

Technical difficulty User goals Usage frequency
Small Medium priority Daily

How does this tie into our current application?

I would like the usage statement to look something like this:

usage: valorantbp [-h] [-e EPILOGUE] [-c CURRENT] [-d DAYS] [-w WEEK] [-m MISSION] [-t TIER] [--edays EDAYS] [--event]
                  [--reset] [--show] [--before]

Track Valorant BattlePass

options:
  -h, --help            show this help message and exit
  --event               Track event progress
  --reset               Reset tracker progress
  --show                Show current tracker config
  --before              Show previous tracker event progress before update

battlepass:
  battlepass directly updates individual settings for tracking the battlepass
  -e EPILOGUE, --epilogue EPILOGUE
                        Current epilogue in progress
  -c CURRENT, --current CURRENT
                        Current exp progress in current tier
  -d DAYS, --days DAYS  How many days are left in the battlepass
  -w WEEK, --week WEEK  Current week of weekly missions in progress
  -m MISSION, --mission MISSION
                        Number of current weekly missions left in current week
  -t TIER, --tier TIER  Current completed tier in battlepass
  --edays EDAYS         How many days left in event battlepass
redromnon commented 1 year ago

Hi there! I would like to work on this. Would you please assign this?

alanyee commented 1 year ago

@redromnon sounds good to me