diff --git a/packages/df-wiki-cli/df_wiki_cli/meilisearch/main.py b/packages/df-wiki-cli/df_wiki_cli/meilisearch/main.py index b722a7a7cf965837c610584c1c2a086f660cd039..031962611989cf0965ffa90e91695aad4f89de1e 100644 --- a/packages/df-wiki-cli/df_wiki_cli/meilisearch/main.py +++ b/packages/df-wiki-cli/df_wiki_cli/meilisearch/main.py @@ -137,7 +137,9 @@ def get_env_var( keys = client.get_keys() api_key = [res.key for res in keys.results if res.name == "Default Search API Key"] + print(ctx.obj.host) if len(api_key) == 1: with open(output, "a") as outfile: - outfile.write(f"MEILI_HOST={ctx.obj.host}\n") - outfile.write(f"MEILI_API_KEY={api_key[0]}\n") + print(ctx.obj.host) + outfile.write(f"MEILI_HOST='{ctx.obj.host}'\n") + outfile.write(f"MEILI_API_KEY='{api_key[0]}'\n")