Add mascot pattern generator script#138
Conversation
|
This is looking good, but we need to support crafters all around the world. In particular, crocheters in the UK and USA are known to use the same terms but for completely different stitches, which can cause confusion! Add a parameter that selects which country's crafting terminology is used in the output document, Given the existing push to add documentation in emoji elsewhere in the project - see issue #116 for details - we also need a parameter to select generating the output document using emojis instead of English. |
|
Thanks, that makes sense. I pushed a follow-up commit for this. It adds I updated the README and docs example to show both flags as well. |
Summary
Adds a dependency-free Perl mascot pattern generator that emits a Markdown craft pattern from user-provided feature ratios, yarn weight, finished height, and craft style.
What changed
scripts/generate_mascot_pattern.pldocs/mascot-pattern-generator.mdFeatures
--banana,--goose, and--goblinratio inputs--craft crochet|knit--output PATHValidation
git diff --checkpassesperl -c scripts/generate_mascot_pattern.pllocally. The script only uses core Perl modules:strict,warnings,Getopt::Long, andPOSIX.Closes #134.