mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 14:14:17 +02:00
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>
This commit is contained in:
parent
d4115451e4
commit
36a2343019
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue