Skip to content

Use argparse instead of getopts #1

@dermalikmann

Description

@dermalikmann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions