Proposal
Given a live coding performance where the user is using echo $CODE | sonic-pi-tool eval-stdin --save some/dir
at the end of the performance the given directory would contain one file for each time code was evaled, with timestamps, so the performance can be replayed.
some/dir
├── sonic-pi-code-20170101170456.rb
├── sonic-pi-code-20170101170503.rb
└── ... etc ...
This could then be used with a replay command to be implemented later.
Discussion
- Is
--save a good name?
- Is the code in a file and timestamp in the filename enough info? Or should we save a JSON blob so that more data can be stored?
Proposal
Given a live coding performance where the user is using
echo $CODE | sonic-pi-tool eval-stdin --save some/dirat the end of the performance the given directory would contain one file for each time code was evaled, with timestamps, so the performance can be replayed.
This could then be used with a replay command to be implemented later.
Discussion
--savea good name?