I was using Arduino's official CLI (Arduino/manpage.adoc at ide-1.5.x · arduino/Arduino · GitHub) to upload sketchs to an arduino Mega using
arduino --board arduino:avr:mega:cpu=atmega2560 --port COM1 --upload "sketch.ino"
everything was working fine!
However, I had to recently change to an arduino due and i cant seem to find the necessary documentation to use the same syntax with this board! Can someone please lend me a hand?