dacbench.argument_parsing

Module Contents

Classes

PathType

Custom argument type for path validation.

class dacbench.argument_parsing.PathType(exists=True, type='file', dash_ok=True)

Bases: object

Custom argument type for path validation.

Adapted from: https://stackoverflow.com/questions/11415570/directory-path-types-with-argparse

__call__(self, string: str)