aviaryan / series-renamer

:tv: A robust TV/Anime series renamer in Python
http://aviaryan.github.io/series-renamer/
Apache License 2.0
46 stars 6 forks source link

Replace custom CLI parsing with argparse #10

Closed agude closed 8 years ago

agude commented 8 years ago

I have replaced the custom CLI parsing with the builtin argparse module. I have also refactored the code to always enter through the run() function in order to avoid duplicating the argparse code.

This has allowed me to remove two custom functions:

This does not yet add --recurse as requested in #8, but is a necessary step to doing so.

Comments welcome!

aviaryan commented 8 years ago

@agude Thanks