QUERY · ISSUE
docs: mpremote run command
docstools
Documentation URL
https://docs.micropython.org/en/latest/reference/mpremote.html#mpremote-command-run
Description
If you have a main.py on the device and invoke mpremote run /home/davef/main.py then the main.py on the device runs. To work on /home/davef/main.py and run that you can not have a main.py on the device.
Code of Conduct
Yes, I agree
CANDIDATE · PULL REQUEST
docs: Add details about connect command
docs
It's not immediately obvious from the documentation that mpremote connect accepts commands to execute on the device.
This PR adds an example of mpremote connect with a command other than repl and updates the supported commands list in the mpremote.rst, mpremote/README.md and mpremote/main.py files.