Closed oubiwann closed 6 months ago
Also, when doing stuff like this:
echo version | ./bin/mdsplode shell
tail -f testfifo | ./bin/mdsplode shell
the prompt loops endlessly ... gonna look into what might be causing this, and may end up needing a --headless
option.
Okay, with the custom line reader removed and rustyline in place as its replacement, echo version | ./bin/mdsplode shell --headless
is now working as expected!
Back to the fifo testing:
mkfifo testfifo
tail -f testfifo | ./bin/mdsplode shell
and then, in another terminal:
echo version > testfifo
echo help > testfifo
echo quit > testfifo
That works!
Probably want to add a
--no-banner
option.