prusnak / micropython-extmod-generator

Generator for Micropython external modules written in C
MIT License
21 stars 6 forks source link

Add command line parsing vi argparse #5

Closed SpotlightKid closed 8 years ago

SpotlightKid commented 8 years ago

And also '-f' option to force overwriting existing output file (fixes #3).

Normally I would have structured the code a bit different and pass in the output file names to the generate() function and Modules.save() method, but I wanted to make the PR with as little refactoring as necessary.

prusnak commented 8 years ago

Thanks!