uv init --app
should create main.py
instead of hello.py
#10392
Labels
duplicate
This issue or pull request already exists
enhancement
New feature or improvement to existing functionality
I've been using
uv init --app
a lot more recently because I've deploying a script using panel. I consistently renamehello.py
tomain.py
.I do think
hello.py
might a good beginner friendly name. I also thinkmain.py
would be equally obvious as to the fact that this is a script that is runnable. I think the following names would be all equally intuitive as an entrypoint.main.py
{project_name}.py
cli.py
script.py
entrypoint.py
The reasoning for this change is that I think
uv
should prefer that commonly used commands were optimized for long term or frequent users, while still being beginner friendly.The text was updated successfully, but these errors were encountered: