python-poetry / python-poetry/poetry
poetry init should ask if the user wants to install dependencies after init
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
The poetry init command is nice because it guides the user towards setting everything up while asking different questions. At the end of all those questions, including some about dependencies to add, poetry could ask the user if it should install the dependencies right away (with the default choice being "yes"). For me it feel like it's the last step before being able to do some work, so it would be nice to have it included in the init process.
tldr;
$ poetry init
# a few init steps later...
Would you like to install your dependencies now? (yes/no) [yes]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the poetry init command entry point and trace how dependency questions finish and how installation is invoked elsewhere. Confirm the existing init behavior and installation flow before changing them. Done means init asks whether to install selected dependencies, defaults to yes, and respects a no answer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100