mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 14:53:07 +00:00
34 lines
720 B
Plaintext
34 lines
720 B
Plaintext
---
|
||
syntax: markdown
|
||
tags: [tldr, common]
|
||
source: https://github.com/tldr-pages/tldr.git
|
||
---
|
||
# poetry config
|
||
|
||
> Edit poetry config settings and repositories.
|
||
> More information: <https://python-poetry.org/docs/cli/#config>.
|
||
|
||
- List current configuration:
|
||
|
||
`poetry config --list`
|
||
|
||
- Remove the a previously set setting:
|
||
|
||
`poetry config {{config_key}} --unset`
|
||
|
||
- See the value of a specific setting:
|
||
|
||
`poetry config {{config_key}}`
|
||
|
||
- Change or add a new configuration setting by passing a value after the setting’s name:
|
||
|
||
`poetry config {{config_key}} {{config_value}}`
|
||
|
||
- Migrate outdated configuration settings:
|
||
|
||
`poetry config --migrate`
|
||
|
||
- Set/Get settings that are specific to a project:
|
||
|
||
`poetry config --local`
|