You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/bashifhash nodemcu-uploader 2>/dev/null;thenif [[ -z$1 ]];thenecho"Usage: [sudo] ./esp_tool.sh DEVICE"else
port=$1
clear
while IFS=""read -r -e -d $'\n' -p '$ ' commands;dohistory -s "$commands"
nodemcu-uploader --port $port$commandsdonefielseecho"Please install nodemcu-uploader to use this script."echo"$ pip install nodemcu-uploader"fi
It just is run one time and allows you to run commands multiple times. It has history so you can use ^P or the up/down arrows to scroll through your history.
If you like it, maybe put it in the repo! 😄
The text was updated successfully, but these errors were encountered:
It just is run one time and allows you to run commands multiple times. It has history so you can use ^P or the up/down arrows to scroll through your history.
If you like it, maybe put it in the repo! 😄
The text was updated successfully, but these errors were encountered: