mosquito / argclass

A wrapper around the standard argparse module that allows you to describe argument parsers declaratively
Apache License 2.0
12 stars 3 forks source link

Arguments with default values are not working #2

Closed dizballanze closed 2 years ago

dizballanze commented 2 years ago
class MyParser(argclass.Parser):

    debug: bool = False
    pool_size: int = 4
    forks: int = 2

No fields are created for this example.

mosquito commented 2 years ago

Fixed in 0.5.0