robgonnella / ardi

Ardi is a command-line tool that helps you manage arduino projects!
GNU General Public License v3.0
12 stars 1 forks source link

Add sensible defaults when attempting to parse build args #78

Closed robgonnella closed 3 years ago

robgonnella commented 3 years ago

When a user runs compile, upload, or attach-and-watch with no build / sketch arguments, we attempt to create the necessary options using the following precedence:

1) If an ardi build named "default" exists use that 2) If only one ardi build is defined use that one 3) Attempt to parse an ino file in the current directory

Issue #56