Skip to content

[codex] Fix CLI boolean package options#86

Merged
JscorpTech merged 1 commit into
mainfrom
codex/fix-cli-boolean-options
May 12, 2026
Merged

[codex] Fix CLI boolean package options#86
JscorpTech merged 1 commit into
mainfrom
codex/fix-cli-boolean-options

Conversation

@JscorpTech
Copy link
Copy Markdown
Owner

Summary

  • Restore optional package cookiecutter choices to boolean values so the existing jst-django CLI can pass False/True extra context without failing choice validation.
  • Keep minimal defaults by ordering each optional package choice as false, true.
  • Update template validation to render through the Python cookiecutter API so tests match the real jst create path.

Validation

  • python scripts/validate_template.py
  • Python cookiecutter API render with all optional package flags set to False
  • git diff --check

Context

jst create currently sends optional packages as booleans, for example cacheops=False. The previous no/yes cookiecutter choices rejected that value before project generation.

@JscorpTech JscorpTech marked this pull request as ready for review May 12, 2026 19:29
@JscorpTech JscorpTech merged commit 54be858 into main May 12, 2026
1 check passed
@JscorpTech JscorpTech deleted the codex/fix-cli-boolean-options branch May 12, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant