diff --git a/src/srtify/cli/cli_handler.py b/src/srtify/cli/cli_handler.py index 22c1cfd..3bca532 100644 --- a/src/srtify/cli/cli_handler.py +++ b/src/srtify/cli/cli_handler.py @@ -35,7 +35,9 @@ class CliHandler: try: match choice: case "translate": - return "translate" + # TODO: Implement translation + print("Not implemented yet!") + input("Press Enter to continue...") case "prompts": self.handle_prompts_menu() case "settings": @@ -52,7 +54,7 @@ class CliHandler: def handle_prompts_menu(self): while True: try: - print(fancy_headline("Prompts Menu", "rounded")) + # print(fancy_headline("Prompts Menu", "rounded")) prompts = self.prompts_manager.get_all_prompts() prompts_menu = PromptMenu(prompts) @@ -63,7 +65,7 @@ class CliHandler: elif choice == 'main': break else: - print(f"Selected prompt: {name}: {choice}") + # print(f"Selected prompt: {name}: {choice}") self.select_prompt(name, choice) except KeyboardInterrupt: @@ -77,6 +79,7 @@ class CliHandler: name = input("Enter prompt name: ").strip() if not name: print("❌ Prompt name cannot be empty!") + input("Press Enter to continue...") return if self.prompts_manager.prompt_exists(name): print(f"❌ Prompt '{name}' already exists!") @@ -107,8 +110,10 @@ class CliHandler: print("❌ No option selected!") return - if choice == "select": - pass + if choice == "show": + print(f"Prompt name: {prompt[0]}") + print(f"Prompt description: {prompt[1]}") + input("Press Enter to continue...") elif choice == "edit": self.edit_prompt(*prompt) elif choice == "delete":