Only configure the first provider interactively

This commit is contained in:
Ashwin Bharambe 2024-10-28 22:38:46 -07:00
parent 4349d5b1c4
commit 28412ab92c

View file

@ -99,6 +99,13 @@ def configure_api_providers(
cprint(f"Configuring API `{api_str}`...", "green", attrs=["bold"])
updated_providers = []
for i, provider_type in enumerate(plist):
if i >= 1:
others = ", ".join(plist[i:])
print(
f"Not configuring other providers ({others}) interactively. Please edit the resulting YAML directly.\n"
)
break
print(f"> Configuring provider `({provider_type})`")
updated_providers.append(
configure_single_provider(