feat(cli): --formats registry surface (no render wiring)#212
Open
MohammedAnasNathani wants to merge 1 commit into
Open
feat(cli): --formats registry surface (no render wiring)#212MohammedAnasNathani wants to merge 1 commit into
MohammedAnasNathani wants to merge 1 commit into
Conversation
Introduce formats.py with FormatSpec/FORMATS/parse_formats, Config.formats defaulting to demo+gif, and a --formats CLI option validated as a real flag (not a false toml error). Unimplemented formats report tracking issues; the pipeline still keys render solely off skip_video. Closes alphacrack#192
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #192 (surface-only slice of #117).
What
src/readme2demo/formats.py:FormatSpec,FORMATS(demo/gifimplemented;podcast/promo/socialreserved with tracking issues), pureparse_formatsConfig.formatsdefaults to["demo", "gif"]with field validator--formatsonrun→typer.BadParameteron bad values (never misattributed to toml)Selected formats: …(Rich-escaped)Explicitly not in this PR
orchestrator/render/manifest—cfg.formatshas zero effect on what is produced--skip-videoreconciliationresume --formatsTest plan
pytest tests/test_config.py tests/test_cli.py -k format(9 passed)test_config+test_cligreenruff checkon touched modulesgit grepshows nocfg.formatsin pipeline modules