slidge.__main__#

Slidge can be configured via CLI args, environment variables and/or INI files. To use env vars, use this convention: --home-dir becomes HOME_DIR.

Module Contents#

Classes#

Functions#

class slidge.__main__.MainConfig(config_obj, parser=None)[source]#

Bases: slidge.util.conf.ConfigModule

Parameters

parser (Optional[configargparse.ArgumentParser]) –

update_dynamic_defaults(args)[source]#
exception slidge.__main__.SigTermInterrupt[source]#

Bases: Exception

Common base class for all non-exit exceptions.

Initialize self. See help(type(self)) for accurate signature.

slidge.__main__.get_configurator()[source]#
slidge.__main__.get_parser()[source]#
slidge.__main__.configure()[source]#
slidge.__main__.handle_sigterm(_signum, _frame)[source]#
slidge.__main__.main()[source]#