diff --git a/hate_crack/main.py b/hate_crack/main.py index f754176..b5d572f 100755 --- a/hate_crack/main.py +++ b/hate_crack/main.py @@ -3502,16 +3502,13 @@ def analyze_rules(): print("Rule Opcode Analyzer") print("=" * 60) - # Get rule file path from user - rule_file = input("\nEnter path to rule file: ").strip() + # Get rule file path from user with tab completion + rule_file = select_file_with_autocomplete("Enter path to rule file") if not rule_file: print("No rule file specified.") return - # Expand user path - rule_file = os.path.expanduser(rule_file) - if not os.path.isfile(rule_file): print(f"Error: Rule file not found: {rule_file}") return