py-vterm-interaction.el/scripts/README.org

12 lines
577 B
Org Mode
Raw Normal View History

2024-05-16 11:30:58 -04:00
* REPL Scripts
2024-09-12 11:31:13 -04:00
These are scripts intended to be run in the REPL by =py-vterm-interaction=. Each
2024-05-16 11:30:58 -04:00
script (except =utility.py=) should contain only one function of the
same name as the script file. All functions should not alter the
global state and have no observable side effects in the REPL. They can
only use standard python functionality.
Each function must take a file path as its first argument and write
its output as json to that path. All functions in =utility.py= are
available to call in each script without importing them. Among the is
~dump_json([path], [value])~.