Add argparse-checker for file allowing empty
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 8 Nov 2021 08:24:40 +0000 (09:24 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 8 Nov 2021 08:24:40 +0000 (09:24 +0100)
commit752bf4ea9966c38104fea71dc3592d53ad34ed34
tree1d561152e74fa3aef6fc7ae486221fbd846d8dec
parent2dd8707852286e920ba7f3f393ae6da29ff7c14f
Add argparse-checker for file allowing empty

Often one needs to give as argument an existing file, so we have a check for
that, that can be used with argparse. However, sometimes you want to give
users the option to not give a filename at all, which is what this new
checker allows.
src/argparse_helpers.py