5.3.1.24.6.1. cli.helpers.config.read_config

cli.helpers.config.read_config(config: Path) dict

Read a YAML configuration file.

Parameters:

config – Path to the YAML configuration file.

Returns:

Parsed YAML content.

Raises:
  • FileNotFoundError – If the specified file does not exist.

  • yaml.YAMLError – If there is an error parsing the YAML file.