- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
13 lines
649 B
Markdown
13 lines
649 B
Markdown
---
|
|
id: 65e8e996-8101-46fd-a0a3-ed29769102a3
|
|
type: solution
|
|
title: "Custom player --create flag for pd-cards CLI"
|
|
tags: [paper-dynasty, python, cli, fix]
|
|
importance: 0.6
|
|
confidence: 0.8
|
|
created: "2025-12-22T20:23:29.339906+00:00"
|
|
updated: "2025-12-22T20:23:29.339906+00:00"
|
|
---
|
|
|
|
Added --create/-c flag to 'pd-cards custom submit' command that creates new players directly from YAML profiles. Key learnings: 1) Custom players don't need MLBPlayer records (mlbplayer can be null), 2) Players API requires many fields: cost, image, mlbclub, franchise, cardset_id, set_num, rarity_id, pos_1, description, 3) Use timestamp in bbref_id to avoid conflicts
|