AmirHmZz / mpbridge

CLI tool to synchronise and manage files on MicroPython running devices
https://pypi.org/project/mpbridge
MIT License
49 stars 5 forks source link

Add dummy/preview option to sync #23

Closed ThinkTransit closed 1 year ago

ThinkTransit commented 1 year ago

It would be really useful to have an option on the sync command that just previews the sync but doesn't actually perform the sync.

Thoughts?

Wind-stormger commented 1 year ago

You mean, provide a feature that only checks which files are different or changed and lists them?

Like:

git status

git diff
ThinkTransit commented 1 year ago

Yes exactly, it would be good to preview the sync first. I often run into the issue where my mpbridge ignore file is not correct or doesn't include the correct folders and I need to test it. Sometimes sync can work in the wrong/unexpected direction, overwriting files on the pc.

AmirHmZz commented 1 year ago

Seems to be a good idea! Do you think it would be better to have this feature in a completely different command?

AmirHmZz commented 1 year ago

Merged in #26 and will be available in mpbridge v1.3.4.

ThinkTransit commented 1 year ago

Thank you very nice