Files

16 lines
377 B
Plaintext

---
functions:
inherit:
- code: |-
echo '...' >/path/to/temp-file
poetry run python /path/to/temp-file
comment: |-
This allows to run Python code (`...`).
A valid `pyproject.toml` file must be present in the current working directory, you can create one with `poetry init -n`.
contexts:
sudo:
unprivileged:
from: python
...