-
-
Notifications
You must be signed in to change notification settings - Fork 9
Description
First of all, this tool is exactly what I need to do some long-term work with a pycom setup on a Raspberry Pi (where the IDEs are frankly useless due to serial port hell).
However, the sync CLI function could be made significantly more useful with a few small tweaks, and especially, the ability to target a directory other than root. We want to update /fs, without touching /sd, and by only targeting root and removing non-matching files, we will always wipe the sd on sync, and need to create a special fs folder as well. In an ideal world, we'd also want to not touch deployed config files; that is significantly less crucial, but it's in more or less the same code, so would be handy.
What would be amazingly useful would be to allow an optional target, such as /fs, so the upload only affects part of the file system.
The code is nicely clear enough, so I'd be happy to assemble something and make a PR if you are okay with that.