[][src]Module arduinors::cli

This module provides an interface for accessing the Arduino CLI.

Enums

Error

The errors that can occur as a result of interacting with the Arduino CLI.

Query

Items that the Arduino CLI can be queried for.

Functions

compile

Compiles a sketch at a given path, for the currently connected Arduino. The given path should point to the sketch directory, not file.

query

Extracts the item associated with a given query by calling the Arduino CLI - or more specifically arduino-cli board list.

upload

Uploads a compiled sketch onto the currently connected Arduino. The given path should point to the sketch directory, not file.