claude-configs/skills/paper-dynasty/reference/cli/pd-cards.md
Cal Corum 4f67c7ca72 Update plugins config and paper-dynasty skill CLI reference
- Update blocklist, installed_plugins, known_marketplaces plugin configs
- Sync marketplace submodules (claude-code-plugins, claude-plugins-official)
- Update settings.json
- Update paper-dynasty SKILL.md
- Replace cli-reference.md with split cli/ docs (gauntlet.md, pd-cards.md)
2026-03-12 02:00:55 -05:00

2.4 KiB

pd-cards CLI Reference

Load this when: You need pd-cards command syntax for custom cards, scouting, retrosheet, S3 uploads, or live series.

Location: /mnt/NV2/Development/paper-dynasty/card-creation

cd /mnt/NV2/Development/paper-dynasty/card-creation

Custom Cards

pd-cards custom list                              # List profiles
pd-cards custom preview <name>                    # Preview ratings
pd-cards custom submit <name>                     # Submit to DB
pd-cards custom new -n "Name" -t batter -h L      # New template

Scouting Reports

pd-cards scouting all -c 27                       # All reports for cardset 27
pd-cards scouting batters -c 27 -c 29             # Batters only (multiple cardsets)
pd-cards scouting pitchers -c 27                  # Pitchers only

Retrosheet Processing

pd-cards retrosheet process 2005 -c 27 -d Live    # Full season processing
pd-cards retrosheet validate 27                   # Check positions for cardset 27
pd-cards retrosheet arms 2005 -e events.csv       # OF arm ratings
pd-cards retrosheet defense 2005 --output "dir/"  # Fetch defense stats

Retrosheet Flags:

  • --end YYYYMMDD - End date for data processing
  • --start YYYYMMDD - Start date for data processing
  • --season-pct FLOAT - Season percentage (0.0-1.0)
  • --cardset-id, -c INT - Target cardset ID
  • --description, -d TEXT - "Live" or "Month PotM"
  • --dry-run, -n - Preview without database changes
  • --last-week-ratio FLOAT - Recency bias for last week
  • --last-twoweeks-ratio FLOAT - Recency bias for last 2 weeks
  • --last-month-ratio FLOAT - Recency bias for last month

S3 Uploads

pd-cards upload s3 -c "2005 Live"                 # Upload to S3
pd-cards upload s3 -c "2005 Live" --limit 10      # Test with limit
pd-cards upload refresh -c "2005 Live"            # Regenerate card images
pd-cards upload check -c "2005 Live"              # Validate only

Upload Flags:

  • --cardset, -c - Cardset name (required)
  • --start-id - Resume from player ID
  • --limit, -l - Max cards to process
  • --no-upload - Validate only, no upload
  • --skip-batters / --skip-pitchers - Skip card types
  • --dry-run, -n - Preview mode

Live Series

pd-cards live-series update -c "2025 Season" -g 81   # Update with 81 games played
pd-cards live-series status                           # Check live series status