src/main.py CLI is a broken stub that contradicts the README #124
Labels
No labels
blocked:children
blocked:depends-101
blocked:depends-103
blocked:depends-104
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:preflight
bug
chore
feature-request
in-progress
lint-cleanup
needs-decompose
performance
quality
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch#124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
src/main.py CLI is a broken stub that contradicts the README
Repo: Mark/easystitch
Severity: High — every user following the README's quick-start hits this
Found: 2026-09-08 full shakedown
Symptom
The README's quick-start command fails immediately:
The CLI must be invoked as
python -m src.main(undocumented), which works.What the CLI exposes vs. what the README advertises
python src/main.py input.svgpython src/main.py input.svg -f pes -o output.pespython src/main.py logo.png -f dst -o logo.dst--visualize,--analyze,--optimize-path,--fill-density,--fill-type,--fill-angle,--threadssrc/main.pyis an 86-line hard-coded wrapper that hard-codes DST output and rejects non-SVGinput. The engine library
EmbroideryPipeline.process(input_bytes=..., output_format=...)supports all four formats (DST/PES/EXP/JEF), raster inputs via auto-vectorization, and all
the settings the README documents — but the CLI doesn't expose any of it.
Acceptable fixes (pick one)
src/main.pyto expose the fullEmbroideryPipeline.process(...)surface withproper CLI flags matching the README
python -m src.main ..." and remove the raster/PES/EXP/JEFclaims from the CLI section
Repro