Relative Content

Tag Archive for argparse

Is it better practice to set default values for optional argparse arguments?

I mention python’s argparse as an example but this would apply to any CLI argument parser library for any language. Just generally speaking, at a high level, if there are a lot of optional arguments for my application, should these arguments’ values be set to at least something, even if its a falsy value?