uv icon indicating copy to clipboard operation
uv copied to clipboard

Make `uv init` options more user-friendly

Open dandavison opened this issue 1 year ago • 1 comments

Hi, thanks for uv, it's looking great.

I think this should be made a bit more user-friendly, by indicating what the defaults are, and perhaps by making it clearer which subsets make sense to be used together.

Options:
      --package        Set up the project to be built as a Python package
      --no-package     Do not set up the project to be built as a Python package
      --app            Create a project for an application
      --lib            Create a project for a library

dandavison avatar Sep 07 '24 21:09 dandavison

Sure we can add a bit more context to the CLI reference, it's a bit sparse since these options are new. I'd recommend using the long-form help (uv help init) to see the more details.

Also, the documentation on this should be relatively clear https://docs.astral.sh/uv/concepts/projects/#creating-projects

zanieb avatar Sep 08 '24 02:09 zanieb

Related: #8311

astrojuanlu avatar Feb 06 '25 07:02 astrojuanlu