diff --git a/src/shelloracle/configure.py b/src/shelloracle/configure.py index 6c0242a..edd2c36 100644 --- a/src/shelloracle/configure.py +++ b/src/shelloracle/configure.py @@ -118,6 +118,7 @@ def write_shelloracle_config(provider: type[Provider], settings: dict[str, Any]) provider_configuration_table.add(setting, value) provider_table.add(provider.name, provider_configuration_table) + Configuration.filepath.mkdir(exist_ok=True) with Configuration.filepath.open("w") as config_file: tomlkit.dump(config, config_file)