v0.19.0 - Terminal, Better Install, Better Typing
Features
- Inclusion of an interactive terminal (wrapper for pyserial's miniterm):
- The
Deviceclass now has a methodterminal()that will start a blocking interactive terminal. - New command:
belay terminal [port]to open up an interactive terminal with the device.
- The
- Improvements to
belay install:- If
--main my_script.pyis specified, device will now restart after installation so that the script will automatically execute. - New flag
--follow: after flashing, the output of the main script will be monitored and printed to stdout. Pressctrl-cto exit.
- If
Bug Fixes
belay install [PORT] --main script.pynow correctly renames the specified script tomain.pyon-device.- Improved Typing.
Full Changelog: v0.18.4...v0.19.0