Skip to content

fix(cli): accept space-separated --addons/--extend (0.2.8) - #242

Merged
ulises-jeremias merged 2 commits into
mainfrom
fix/cli-variadic-addons
Jul 22, 2026
Merged

fix(cli): accept space-separated --addons/--extend (0.2.8)#242
ulises-jeremias merged 2 commits into
mainfrom
fix/cli-variadic-addons

Conversation

@ulises-jeremias

Copy link
Copy Markdown
Member

Summary

  • Expand --addons a b / --extend a b into repeated Typer flags (Create-Node-App Commander parity)
  • Regression tests for the README/uvx command shape
  • Bump create-awesome-python-app to 0.2.8

Context

After 0.2.7 fixed options-after-directory, this still failed:

uvx create-awesome-python-app my-api --template fastapi-starter --addons fastapi-docker github-setup --no-interactive
# Got unexpected extra argument(s) (github-setup)

Test plan

  • uv run pytest tests/test_cli.py
  • CI green
  • Tag create-awesome-python-app@0.2.8 after merge and verify PyPI

Made with Cursor

ulises-jeremiasand others added 2 commits July 22, 2026 11:13
Typer only takes one value per flag; expand CNA-style `--addons a b`
into repeated flags before parsing so the documented UX works.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@ulises-jeremias
ulises-jeremias merged commit ebdb0cd into mainJul 22, 2026
15 checks passed
@ulises-jeremias
ulises-jeremias deleted the fix/cli-variadic-addons branch July 22, 2026 14:18
Sign up for freeto 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

@ulises-jeremias