Skip to content

fix(cli): preserve trailing project dir after --addons (0.2.9) - #243

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

fix(cli): preserve trailing project dir after --addons (0.2.9)#243
ulises-jeremias merged 2 commits into
mainfrom
fix/cli-addons-trailing-dir

Conversation

@ulises-jeremias

Copy link
Copy Markdown
Member

Summary

  • Self-review of 0.2.7/0.2.8 found greedy --addons expansion could treat a trailing project_directory as another addon (--addons a --addons b /tmp/app)
  • Peel that token back when no positional was seen yet; keep space-separated README UX (my-api --addons a b)
  • Bump to 0.2.9 + regression tests (dir-last, CI-shaped argv)

Test plan

  • uv run pytest tests/test_cli.py
  • CI fully green
  • Tag create-awesome-python-app@0.2.9 after merge

Made with Cursor

ulises-jeremiasand others added 2 commits July 22, 2026 11:29
Greedy expansion swallowed a directory that appeared immediately after
the last addon when no positional was seen earlier. Peel that token
back as project_directory and cover the CI/dir-last shapes in tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@ulises-jeremias
ulises-jeremias merged commit a531aad into mainJul 22, 2026
15 checks passed
@ulises-jeremias
ulises-jeremias deleted the fix/cli-addons-trailing-dir branch July 22, 2026 14:33
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