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:
showHelp()
printexit()
This does not yet add --recurse as requested in #8, but is a necessary step to doing so.
I have replaced the custom CLI parsing with the builtin
argparse
module. I have also refactored the code to always enter through therun()
function in order to avoid duplicating the argparse code.This has allowed me to remove two custom functions:
showHelp()
printexit()
This does not yet add
--recurse
as requested in #8, but is a necessary step to doing so.Comments welcome!