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?
Repeating groups of arguments with argparse
Let’s say that I want to enter info about multiple users from the command line AND that each user has multiple data associated with it.