We really need as many people to get involved with testing this project, providing useful feedback (like you did),
The main bonus feature of arduino-cli for the average user is the ability to set custom configurations for each sketch. This includes the ability to associate a specific board and port with each sketch,
arduino-cli also has output functionality that the Arduino IDE CLI doesn't have. For example, you can search for installed libraries or libraries available from Library Manager. Same with boards and Boards Manager.
arduino-cli is faster than the Arduino IDE CLI. For example, compiling BareMinimum for Uno took a little over 5 seconds with Arduino IDE CLI. On arduino-cli the same compile took under 4 seconds the first time. The Arduino IDE CLI clears the compilation cache every time, so every compile takes that same 5 s. arduino-cli is able to use the previous compilation cache so subsequent compilations only took a little over 1 second.
I have that capability built into my Python program.
I try to avoid using them. I prefer the bare metal
That might be nice but I have survived so far without it
why didn't they just build that into the IDE CLI ?
PS ... why is this in Bar Sport ?
You are definitely not bumping into things in the dark like I am.
After reading a few articles on-line about it. I thought the arduino-cli tool was released.
how the arduino-cli.yamlfile is used
Along with what goes on the command line itself.
arduino-cli help [command]
arduino-cli [command] --help
As you could glean from the issue I started it was a lot of mucking around and a good measure of luck to get it working.
I'm sure once they get a wiki together it will be easier to get up to speed with the tool especially for 3rd party boards.
Do you mean [...] or just that you avoid using Library Manager and Boards Manager and do manual installations of libraries and hardware packages instead?
I am wary of systems that have a central repository of libraries in case an upgrade needed for one purpose causes another to break.
it would take a lot less effort on the part of the developers just to write decent instructions rather than writing programs to avoid the need for instructions
arduino-cli lib update-indexarduino-cli lib upgrade
arduino-cli core update-indexarduino-cli core upgrade
arduino-cli config init
board_manager: additional_urls: - http://arduino.esp8266.com/stable/package_esp8266com_index.json
arduino-cli core update-index
arduino-cli core install esp8266:esp8266
No shortage of evidence in this Thread to support the much greater value of writing the fishing instructions rather than handing out fish.
I don't see how that's any less of a problem if you do manual installations?
Let's say I want to update all my installed libraries to their newest release version.