I will build a Command Line Interface that browses all the files in a folder and extracts specific information, the output will be saved on a file. It would run on a command similar to this
myapp --path="/folder/subfolder" --except="subfolder2" --extensions=".py"
I have done CLI a couple of times but for casual projects. I wish that this time I could be more professional and use as many best practices as possible.
I've been researching and I've found two ways to do it:
Using Libraries as:
- Click
- Docopt
Using Design Patterns:
- Command Pattern
- Facade Pattern
I would like to know based on your experiences, what would be the best option? Thanks in advance
Aucun commentaire:
Enregistrer un commentaire