Arduino CLI is a tool to access all Arduino Create API from Command Line. It implements all functions provided by web version of Arduino Create.
- You should have a recent Go compiler installed.
- Run
go get github.com/bcmi-labs/arduino-cli
There are two ways to execute the project:
- By running the go main file.
go run main.go ARGS- By compiling and running the go program.
go build -o arduino
./arduino ARGSYou may want to copy the binary into a directory which is in your PATH environment variable
(such as /usr/local/bin/) or add the binary's directory to it.
Bash autocompletion and manpages can be generated with the arduino generate-docs command.
A general call is
arduino COMMANDTo see the full list of commands, call one of the following:
arduino help [COMMAND]
arduino [COMMAND] -h
arduino [COMMAND] --helpTo contribute to this project:
git clonethis repository.- Create a new branch with the name
feature-to-implementorbug-to-fix. - Code your contribution and push to your branch.
- Ask a Pull Request.