cryptocli
cryptocli copied to clipboard
Replay/save feature
The save module will add a time to each messages received and write it to a pipeline.
IE: { for a in $(seq 1 10); do echo toto; sleep 1;done; } | cryptocli -- stdin -- save --pipe "file --path blah.cryptocli"
will save the data and the timestamp to a blah.cryptocli
file.
When read with the read
module like so: cryptocli -- read cryptocli://blah.cryptocli -- stdout
it will output the string toto
every second, replaying the messages when they are received.
The nice thing about it is you can add this to various places in your pipeline to recreate it.