Skip to content

🐛 Handle project name initialization for current directory - #32

Merged
tiangolo merged 5 commits into
mainfrom
fix/new-project
Jan 5, 2026
Merged

tiangolo merged 5 commits into
mainfrom
fix/new-project

Conversation

@alejsdev

@alejsdev alejsdev commented Jan 2, 2026 •

Copy link
Copy Markdown
Member

🐛 Handle project name initialization for current directory

Problem: currently, users cannot run fastapi-new in the current directory:

➜ uvx fastapi-new .
Installed 10 packages in 23ms

   FastAPI   Creating a new project 🚀

     error   Error: Directory '.' already exists.

Now: both fastapi-new (with no argument) and fastapi-new . work correctly to initialize a project in the current directory.

@alejsdev alejsdev added the bug Something isn't working label Jan 2, 2026
@alejsdev
alejsdev marked this pull request as ready for review January 2, 2026 15:13
@alejsdev alejsdev changed the title 🐛 Handle project name initialization for current dir 🐛 Handle project name initialization for current directory Jan 2, 2026
@alejsdev
alejsdev marked this pull request as draft January 2, 2026 16:16
@alejsdev
alejsdev marked this pull request as ready for review January 2, 2026 18:12

@tiangolo tiangolo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you! 🙌

@tiangolo
tiangolo merged commit 45f319e into main Jan 5, 2026
@tiangolo
tiangolo deleted the fix/new-project branch January 5, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants