which is designed to be extensible, but for now this is what Wafer will send it. Totally possible to call the script from the command line to test its output too. The script will output the result to stdout, which is captured and used as an input.
Additions to the rust codebase include a non-serialisable item in the config struct which lists the location of the script, as well as a command line option to give a custom location.
Implements #20.
Script expects to read from stdin, and wants a json struct with the following info:
which is designed to be extensible, but for now this is what Wafer will send it. Totally possible to call the script from the command line to test its output too. The script will output the result to stdout, which is captured and used as an input.
Additions to the rust codebase include a non-serialisable item in the config struct which lists the location of the script, as well as a command line option to give a custom location.