Uploading .arduboy files is significantly more complex than uploading sketch files, so it should be its own command. Perhaps something like ardugotools write package name subprog device, where you must provide the correct subprogram within the package (since there can be many). There should be an "auto" where it will select the first option which correctly matches your device. Consider where to extract the arduboy files temporarily though (can it be done in memory? do we WANT to do it in memory?)
Uploading .arduboy files is significantly more complex than uploading sketch files, so it should be its own command. Perhaps something like
ardugotools write package name subprog device
, where you must provide the correct subprogram within the package (since there can be many). There should be an "auto" where it will select the first option which correctly matches your device. Consider where to extract the arduboy files temporarily though (can it be done in memory? do we WANT to do it in memory?)