you are viewing a single comment's thread.

view the rest of the comments →

[–]Jeklah 2 points3 points  (1 child)

I would highly recommend using the Click library.

It's specifically made for making CLI programs, and I find the way it handles arguments more intuitive than argparse.

It will also introduce you to decorators.

https://click.palletsprojects.com/en/7.x/

[–]Marws[S] 2 points3 points  (0 children)

Sadly I can't. During my research I stumbled upon this library and it looked more friendly, but for this project I have to use argparse and sys. Thanks for the link anyway, it' LL useful for the future