copy_default_config

swxsoc.util.config.copy_default_config(overwrite=False)[source]

Copy the default configuration file to the user’s configuration directory.

If the configuration file already exists, it will be overwritten if the overwrite parameter is set to True.

Args:

overwrite (bool): Whether to overwrite an existing configuration file.

Raises:

RuntimeError: If the configuration directory is not writable.