Skip to content

Conversation

@alejsdev
Copy link
Member

@alejsdev alejsdev commented Jan 2, 2026

πŸ› 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
Copy link
Member

@tiangolo tiangolo left a comment

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
20 checks passed
@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.

3 participants