This plugin adds completion for the arduino-cli tool.
To use it, add arduino-cli to the plugins array in your zshrc file:
arduino-cli
plugins=(... arduino-cli)