Open
Description
Write a shell script to install all recommended libraries with one command
- The script receives a path parameter to the sketchbook directory (how the code project folder is called on Arduino).
- Go to the path received.
- Create a "libraries" directory if it doesn't exist.
- Clone all recommended libraries on the list inside the "libraries" directory.
References
- How to install libraries on Arduino IDE - https://support.arduino.cc/hc/en-us/articles/5145457742236-Add-libraries-to-Arduino-IDE
- How can I pass arguments to a batch file - https://stackoverflow.com/questions/26551/how-can-i-pass-arguments-to-a-batch-file
- How to use parameters in powershell - https://www.red-gate.com/simple-talk/sysadmin/powershell/how-to-use-parameters-in-powershell/