comicbox.config

source package comicbox.config

Confuse config for comicbox.

Functions

  • get_config Get the config dict, layering env and args over defaults.

source get_config(args: Namespace | Mapping | ComicboxSettings | None = None, *, modname: str = PACKAGE_NAME, path: str | Path | None = None, box: bool = False)ComicboxSettings

Get the config dict, layering env and args over defaults.

Setting the box arg to True reconfigures attributes based on path or no path.