mirror of https://github.com/CrimsonTome/tldr.git
poetry: add `install` command, update page (#12056)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>pull/23/head
parent
d4115451e4
commit
36a2343019
|
@ -8,13 +8,13 @@
|
|||
|
||||
`poetry new {{project_name}}`
|
||||
|
||||
- Install a dependency and its subdependencies:
|
||||
- Install and add a dependency and its sub-dependencies to the `pyproject.toml` file in the current directory:
|
||||
|
||||
`poetry add {{dependency}}`
|
||||
|
||||
- Install a development dependency and its subdependencies:
|
||||
- Install the project dependencies using the `pyproject.toml` file in the current directory:
|
||||
|
||||
`poetry add --group dev {{dependency}}`
|
||||
`poetry install`
|
||||
|
||||
- Interactively initialize the current directory as a new Poetry project:
|
||||
|
||||
|
|
Loading…
Reference in New Issue