From 2eaba2ae401b2f50a4d3695bee9f8478c960d15d Mon Sep 17 00:00:00 2001 From: test Date: Sat, 20 Jan 2024 20:51:07 -0500 Subject: [PATCH] changed name --- llm_cmd => llmcmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename llm_cmd => llmcmd (97%) diff --git a/llm_cmd b/llmcmd similarity index 97% rename from llm_cmd rename to llmcmd index e4737a2..b901d96 100755 --- a/llm_cmd +++ b/llmcmd @@ -106,7 +106,7 @@ for code in soup.findAll('code'): console.print(Markdown(f"```bash\n{code}\n```")) print("--------------------------------------------------------") - answer = input("Would you like to run this code [N/y/e/d]:").lower() + answer = input("Would you like to run this code [N/y/e/q]:").lower() if answer == "y" or answer == "yes": print("\n") os.system(code) @@ -125,6 +125,6 @@ for code in soup.findAll('code'): os.system(f"{editor} {t.name}") os.system(f"bash {t.name}") os.system(f"rm -rf {t.name}") - elif answer == "d" or answer == "done": + elif answer == "q" or answer == "quit": exit()