Sorry for the misunderstanding. I don't know how or if possible, but I would suggest looking at Espruino tools (i.e. npm install espruino). I just recently started using the command line. If you can't do it directly you can probably add on a processor or plugin to get there.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sorry for the misunderstanding. I don't know how or if possible, but I would suggest looking at Espruino tools (i.e. npm install espruino). I just recently started using the command line. If you can't do it directly you can probably add on a processor or plugin to get there.