Found this a few minutes ago, not sure if it does what you want https://github.com/espruino/EspruinoTools
I Installed it on my Mac and it works as commandline for the Bangle using BLE.
iMac19-9:~ gerard$ espruino Espruino Command-line Tool 0.1.31 ----------------------------------- Using first port, {"path":"f3-2c-dc-06-01-95","description":"Bangle.js 0195","type":"bluetooth"} Connecting to 'f3-2c-dc-06-01-95' >Connected >help Uncaught ReferenceError: "help" is not defined at line 1 col 1 help ^ >process.env ={ VERSION: "2v06", GIT_COMMIT: "21168a2b", BOARD: "BANGLEJS", FLASH: 524288, SPIFLASH: 4194304, STORAGE: 4194304, RAM: 65536, SERIAL: "2e5db521-5511cd11", CONSOLE: "Bluetooth", MODULES: "Flash,Storage,hea" ... "tensorflow,locale", EXPTR: 536882556 } >1+1 =2 >
@gerardwr started
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.
Found this a few minutes ago, not sure if it does what you want
https://github.com/espruino/EspruinoTools
I Installed it on my Mac and it works as commandline for the Bangle using BLE.