The knitr function `purl()` is really handy for extracting code chunks from RMarkdown files.

It would be really useful to have such functionality in Quarto. I've used `quarto convert` to great effect. Could there be command line functionality like 

```bash
quarto convert test.qmd test.py
```

Or perhaps a separate tool, e.g.

```bash
quarto convert-to-code test.qmd test.py
```
2022-03-06T11:57:17Z
Robinlovelace
Future
open
Command line tool to extract code
https://github.com/quarto-dev/quarto-cli/issues/389