ConfigInit.init

ConfigInit.init#

ConfigInit.init(path: str | None = None, exists_skip: bool = True)[source]#

Create all defined config files in the given directory.

The directory is created automatically if it does not exist.

Parameters:
  • path – path to the directory where config files will be created. Defaults to the path returned by get_config_directory().

  • exists_skip – if True (default), skip any file that already exists, preserving user edits. Set to False to overwrite.