nyaascraper icon indicating copy to clipboard operation
nyaascraper copied to clipboard

Use argparse instead of getopts

Open dermalikmann opened this issue 4 years ago • 0 comments

I recommend switching to the argparse module. It makes it (imo) easier to handle arguments for a python script. Also it autogenerates a help page for you, if you provide meta data during option creation.

https://docs.python.org/3/library/argparse.html

dermalikmann avatar Jan 22 '21 15:01 dermalikmann