Skip to content

Commit

Permalink
docs: poetry.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
niekdt authored Aug 3, 2024
1 parent 603c394 commit 7b872e6
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/actionsheets/data/python/devtools/poetry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,21 @@ code = "poetry lock"

[save.reqs]
action = "Export environment as *requirements.txt*"
code = "poetry export -f requirements.txt --output requirements.txt"
code = "poetry export -f requirements.txt > requirements.txt"
details = """
Requires a plugin, install via:
`poetry self add poetry-plugin-export`
"""
source = "https://python-poetry.org/docs/cli/#export"

[save.reqs.nohash]
action = "Export environment as *requirements.txt* without hashes"
code = "poetry export --without-hashes -f requirements.txt > requirements.txt"
details = """
Requires a plugin, install via:
`poetry self add poetry-plugin-export`
"""
source = "https://python-poetry.org/docs/cli/#export"


[restore]
Expand Down

0 comments on commit 7b872e6

Please sign in to comment.