https://github.com/arduino/Arduino/blob/master/bui ld/shared/manpage.adoc
takze si tam daj trebars --upload a prelozi to a rovno aj uploaduje. A nespusti zbytocne cele IDE.
Normally, running the arduino command starts the IDE, optionally loading any .ino files specified on the commandline.
Alternatively, if any of the following command line options is given, no graphical interface will be shown and instead a one-off verify (compile) or upload will be done.
... a tam mas vylistovane tie alternativne options...
Compile and upload a sketch using the last selected board and serial port
arduino --upload /path/to/sketch/sketch.ino