Tucked away in my weeknotes is this fun new Symbex feature - you can now use `--rexec` to find a symbol, pipe it through an executable command and edit the file in-place to replace it with the output

So you can do stuff like this:

`symbex my_function --rexec "llm --system 'add type hints and a docstring'"`

https://github.com/simonw/symbex/blob/main/README.md#replacing-a-matched-symbol-by-running-a-command

Reply to this note

Please Login to reply.

Discussion

No replies yet.