mraleson / piku

A small command line utility for managing CircuitPython projects
MIT License
13 stars 3 forks source link

add prompting to deploy even when the board configuration is unexpected #17

Open tammymakesthings opened 2 years ago

tammymakesthings commented 2 years ago

This is a fix for #14 and implements some checking to make the code (cautiously) deploy even when the target directory doesn't appear to be a valid CircuitPython device. If the directory the user is deploying to does not have the right label, or appears to be larger than what we'd expect a microcontroller device to be, the user will be prompted for confirmation before deploying to that device.