zsquareplusc / mpy-repl-tool

Yet an other tool to transfer files, execute files and so on via the Python prompt, used for MicroPython
Other
19 stars 5 forks source link

fix(push): handling of recursive flag #11

Closed hoihu closed 4 years ago

hoihu commented 6 years ago

if args.recursive is given, this will allow to sync files recursively using "" notation. e.g. `python -m there push /*.py /flash`

hoihu commented 6 years ago

ok this is not the correct way to do it sorry...

when i rewrite https://github.com/zsquareplusc/mpy-repl-tool/blob/master/there/__main__.py#L296 to m.write_file(path, posixpath.join(dst, path))

it does seems to work, but I may have overlooked something...