dplutils.cli.get_argparser

Contents

dplutils.cli.get_argparser#

dplutils.cli.get_argparser(**kwargs)[source]#

Get an extensible argparser with default options built-in

This is a thin wrapper over just instantiating an ArgumentParser, but adds the default pipeline options as given in add_generic_args() (see its documentation for list of arguments). See also set_config_from_args() for details of how the set-context and set-config parmeters are handled.

Parameters:

kwargs – keyword arguments to pass to constructor of ArgumentParser