def __get_config_file(self) -> Path:
        """Function that returns the path to the config file with multi platform support."""
        platform = what_platform()

        appdata_folder = get_appdata_directory(platform)

        config_path = appdata_folder.joinpath("config.toml")

        if not config_path.exists():
            logger.debug("The 'config.toml' file doesn't exist so we're creating it...")
            config_file = open(config_path, "w")

            template_config_path = Path(__file__).parent.joinpath("config.template.toml")

            with open(template_config_path, "r") as config_template:
                config_file.write(config_template.read())

            config_file.close()
            logger.info(f"Config created at '{config_path}'.")

        return config_path
Function that returns the path to the config file with multi platform support.
mov_cli/config.py