parmentf/pyector

CLI bot

firestorm23 opened this issue · 1 comments

Hi
Is there a way to use ECTOR as simple request - response CLI command? Of course with log save to learn words. Not this interactive version, just 1 command -> 1 request with promt to console.

Hi.

As you can see in Ector.py, the main script uses a loop on the standard input.

At least, you can redirect input to the script, and get its output on standard output.

Just don't forget to end each entry with a @write on a line, and then a @quit on the next line.

Or, you can fork Ector.py to adapt it to your convenience.